Adding ExitDocument method in GridCell and GridRow , remove node to avoid Detached DOM. Since GridRows are created in Begining and never disposed for performance reason , in ExitDocument as a temporary arrangement childrens and element_ is set to null , for which closure compiler is giving warning