Categories | Question details Back To List | ||
If I set table height to 100% it truncates and applys
scroll bars. Is it possible to simply consume however m... If I set table height to 100% it truncates and applys scroll bars. Is it possible to simply consume however much space it needs without applying scroll bars? If I have to set a height in px that means I need to know the table height and I won't usually know that, it just depends how many rows the user has added. Answer posted on Mar 05, 2007 10:40 You can use a enableAutoHeight method: grid.enableAutoHeigth(true); //grid never has scrolls, and use minimal required place grid.enableAutoHeigth(true,500); //grid will have scrolls only, if height of grid > 500px grid.enableAutoHeigth(true,"auto"); //grid will have scrolls only, if height of grid > height of parent containerAnswer posted by Alexandra (Support) on Dec 05, 2014 09:24 The information connected with javascript framework mobile and javascript calendar form also can help you, so please check it too. |