I want to get the row height value of the grid. I tried to do something with overriding the afterRender method and my code is like as :

protected void afterRender() {
NodeList<com.google.gwt.dom.client.Element> rows = getRows();
int rowLength = rows.getLength();
for (int i = 0, len = rows.getLength(); i < len; i++) {
com.google.gwt.dom.client.Element row = rows.getItem(i);
Style style = row.getStyle();
String heightValue = style.getProperty("height");
System.out.println("Height Value [" + heightValue);

but rowLength value is 0. Can anybody give any idea to get the row height value?