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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Count of visible records

Thread ID:





106063 Dec 7,2012 10:23 AM UTC Dec 13,2012 05:36 PM UTC WPF 1
Tags: GridControl
Asked On December 7, 2012 10:23 AM UTC

Does the GridDataControl expose a Collection like property of the rows that are visible in the Grid?
This would be useful after the user has filtered the Grid.
Also there doesn't seem to be any Events or Properties to allow a Developer to capture when filtering takes place.

Rajasekar G [Syncfusion]
Replied On December 13, 2012 05:36 PM UTC

Hi Adrian,


Thank you for using Syncfusion products.


We have analyzed your query and you can achieve your requirement by using the following code snippet.


Code Snippet[C#]:

private void RecordCount_Click(object sender, RoutedEventArgs e)


    int count = this.SyncGrid.Model.View.Records.Count;

    MessageBox.Show("Record Count :"+ count.ToString());



We have prepared a sample based on this and it can be download from the following location.


Sample Location: GridDataControlRecordCount.zip




·         Run the sample.

·         Filter the records  though filter bar.

·         Click the Get record count button to get the record count


Please let us know if you have any questions.



Raja sekar.G


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon