Given the following:
What am I missing? With now rows, I would have thought that the count of my selections would be zero, and that the current cell''s rowindex would be something other than 1, which does not exist.
ADAdministrator Syncfusion Team July 27, 2004 11:11 AM
The grid.Model.RowCount = 0 says something about the row count. It does not necessarily infer anything about other grid properties.
How the RowCount gets to be zero may affect the properties you listed.
The grid will not auto adjust teh grid.Selections collection is you programatically delete rows from your datasource.
So, if you need these values to be reset, you will have to explicilty reset them as just setting teh RowCount = 0 will not necessarily affect them.