Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Andrew on Feb 12, 2008 14:22
open dhtmlx forum
How can I limit the number of rows displayed so that I can always see my Footer?

Hi,
I have a Grid with ~100 rows. Is there some setting that would allow me to display 25 rows with a scrollbar but still see the footer at all times? The Grid resides inside a dhtmlxTabbar.

Thanks,

Andrew
Answer posted by Support on Feb 13, 2008 03:15
>>but still see the footer at all times?
If footer created by "attachFooter" - you can define any custom height of grid and even if vertical scrollbar  will appear - footer still will be visible.

    grid.enableAutoHeight(true,500); // where 500 is height of 25 rows