views:

104

answers:

1

Hi, I am using AdvancedDataGrid with its number of rows changing dynamically.I want to adjust the grid height according to the number of rows displayed.Can anyone help me out in this. Thanks in advance.

A: 

I'm not sure what you're asking... please provide an example. You want the grid to keep getting taller as the row number increases? Is this to avoid a scroll bar? How tall would you like it to get before you stop? Are you looking for it to be 1:1 (height = numberOfRows * heightOfOneRow)?

It sounds like what you're asking for should be pretty straight forward, if you just elaborate a little bit.

Dr.Dredel
I want the grid to keep getting taller as the row number increases,so that the grid is kept in tact.I want the scroll bars to appear once the grid's height exceeds the page size.
Anupama