PDA

View Full Version : Computing Grid Height?



eviltofu
20 Jul 2010, 4:55 AM
How do I go about computing the height of a grid?

HeaderHeight + (Number of Rows * Row Height)

but what are the numbers for Header height and Row height? Are they dependent on the CSS used?

sven
20 Jul 2010, 4:57 AM
http://www.sencha.com/examples/explorer.html#autoheightgrid

eviltofu
20 Jul 2010, 5:08 AM
Thank you for the reply. Would this fail if the grid had zero rows? I'm trying to compute the height for n rows for a paging grid.