I have a grid where I've set a number of rows to be invisible using the SetRowHidden() method of the grid. Is it possible to get a count of the number of rows that are now not invisible? I thought I found the answer with Grid.ViewLayout.VisibleRows, but that just returns the number of rows visible on the screen at that time; I need a count of rows that have not been set to be invisible, whether or not they are visible in the grid window at that time.
ADAdministrator Syncfusion Team April 26, 2004 03:53 PM
If you are explicitly calling SetRowsHidden to hide the rows, then you can track the number of hidden rows in your code though a class member. Then since you know the hidden row count, you can then get the non-hidden rowcout using grid.Model.RowCount and you hidden row count.