I have a couple grids one for phone numbers and another for addresses. With the default height of the grids, I'm seeing a little bit too much white space and my customer isn't thrilled. Can anyone tell me how to dynamically set the height of the grids to be to fit of the number of rows?
Much Appreciated!
Hello,
Yes, the problem with fitting the grid on the screen is that the grid does not know at runtime (at the server) the settings in the browser, hence cannot do that automatically. You can however do this on the client-side with javascript.
Please, take a look at the following forum thread
Change height of ultrawebgrid to the height of the browser
http://forums.infragistics.com/forums/p/9961/38411.aspx#38411
for details on how this can be implemented (it's a little bit long thread and we are having progress there in the last few posts, but still it's a good learning resource).
Hope this helps.
And for those of you who can't click on Rumen's post:
(ducking & running ;-)