boolean (RadContainer container, boolean isRow, int cellIndex) { final GridLayoutManager gridLayoutManager = ((GridLayoutManager)container.getLayout()); int maxSizePolicy = 0; for(int i=0; i<gridLayoutManager.getCellCount(isRow); i++) { maxSizePolicy = Math.max(maxSizePolicy, gridLayoutManager.getCellSizePolicy(isRow, i)); } return gridLayoutManager.getCellSizePolicy(isRow, cellIndex) == maxSizePolicy; }