Home Forums WinForms controls Xceed Grid for WinForms Visible rows in .net Xceed Grid for .Net Reply To: Visible rows in .net Xceed Grid for .Net

Xceed Support
Member
Post count: 5658

Hi Kunal,

If there are different heights, then this method will not work. Another way of doing it would be to get the sorted DataRows (rows as they are sorted to the user on the screen) and check their heights individually and check to see if the accumulated height is less than the height of the rectangle. If it is, continue the loop. If it is not, then you can stop.

Imported from legacy forums. Posted by Marc [Xceed] (had 1111 views)