Hi and thanks for reading my question,
I have a UltraWinGrid with a large number of rows, let's say more than 100. On the screen at a given time there are visible only about 7, 8 of them. I'm looking for a way of showing only the rows that are fully visible, so if the last row is not completely visible it should not be visible until the grid is scrolled.
I've searched for a property or for a method of doing this. It can easily be done for columns but i haven't found a way to do it for rows. Also in this case resizing the grid is not an option.
Thanks for any tips,
Adrian Faciu.
Sample 1
Hello Saurabh,
Saurabh shah said:Can you please give me a sample code to see that how to set height of row or Row element?
Please take a look on attached sample and video with one possible solution
Thanks Mike. So you mean that in current latest version we have a header checkbox functionality?
Can you please give me a sample code to see that how to set height of row or Row element?
It might be possible, but it would be tricky. You could try setting the height of the row. But you would have to determine the correct height, which is no simple task, You would also have to set RowSizing to free to allow variable-height rows.
Another option might be to change the height of the RowUIElement with your creation filter, but I don't think that will work unless you also change the height of all the child elements, and there are quite a few, so it would be difficult to account for the all.
Also... do you know that the latest version of the grid has header checkbox functionality built-in? So you don't need a creation filter for that, any more.
Is there a way I can expand last row which is fully visible to cover that area?