By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,521 Members | 1,274 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,521 IT Pros & Developers. It's quick & easy.

height for Dojo grid 1.1

100+
P: 184
Hi All,
I have painted the dojo grid 1.1 with height of 20em as follows..
Expand|Select|Wrap|Line Numbers
  1.   # gridName
  2.   {
  3.     height:20em;
  4.    }
  5.  
The input for that grid is about 1000 records.so, number of records exceeds the height of grid and hence the vertical scroll bars got attached. if the number of records going to be less than height of grid .Then height of the grid should be adjusted and hence scroll bars should not diplayed.. Anyone pl say how to solve this problem.. Thanks in Advance.

Note: If i give as follows
Expand|Select|Wrap|Line Numbers
  1.   # gridName
  2.   {
  3.     height:auto;
  4.    }
  5.  
the scroll bars never got attached. but i dont want thats scenario...
Thanks in Advance..
Sep 18 '08 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
Use the overflow property.
Sep 18 '08 #2

100+
P: 184
Use the overflow property.

Thank u acoder.. It helped me alot
Sep 19 '08 #3

acoder
Expert Mod 15k+
P: 16,027
You're welcome. Glad it did :)
Sep 19 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.