We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How do I get a row count of all rows in the grid?

I don''t want a count of selected rows I just want a count of all the rows in the GridDataBoundGrid. Scenario: For automated testing the test software needs to know the row count in the grid to match the record count in the data source for the grid.

2 Replies

AD Administrator Syncfusion Team May 14, 2004 11:12 AM

Try the grid.Model.RowCount property to see if that gives you what you want.


CH Charles May 14, 2004 11:44 AM

Thanks, a forgot about Modle View Controller (MVC) architecture. >Try the grid.Model.RowCount property to see if that gives you what you want.

Loader.
Live Chat Icon For mobile
Up arrow icon