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

RowCount

Does RowCount on the grid always include the column header row and the add new row (if visible)?

Thanks

1 Reply

SP Shobika Palani Syncfusion Team November 20, 2018 04:26 PM UTC

Hi Chris, 

Thank you for contacting Syncfusion Support. 

We have analyzed your query about row count. SfDataGrid.RowCount returns the row count that starts from the Column Header only. And You can get Record count only using SfDataGrid.View as like below code snippet 

this.sfDataGrid.View.Records.Count 

Please let us know, if you need any further assistance on this. 

Regards, 
Shobika. 


Loader.
Live Chat Icon For mobile
Up arrow icon