java/src/main/java/com/vaadin/elements/grid/GridElement.java
private boolean isGridVisible() {
        // We currently implement the feature by checking the client height of
        // measure object because it has 1px bottom padding and
        // thus has client height of 1 if it's visible in the DOM.
        return measureObject != null && measureObject.getClientHeight() > 0;
    }
/*
     * This method checks whether the vaadin-grid element is actually visible in
     * the DOM (ie. its parent elements or itself aren't set display: none).
     */
This method checks whether the vaadin-grid element is actually visible in
the DOM .
This method checks whether the vaadin - grid element is actually visible in the DOM .
private boolean isGridVisible() {
        return measureObject != null && measureObject.getClientHeight() > 0;
    }
private boolean isGridVisible ( ) { return measureObject != null && measureObject . getClientHeight ( ) > 0 ; }
This method checks whether the vaadin-grid element is actually visible in
 the DOM (ie.
This method checks whether the vaadin - grid element is actually visible in the DOM ( ie .
// We currently implement the feature by checking the client height of // measure object because it has 1px bottom padding and // thus has client height of 1 if it's visible in the DOM.