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

GridDataControl access Filtered Rows <-> MVVM

Thread ID:





116015 Mar 17,2014 10:49 AM UTC Apr 15,2014 10:59 PM UTC WPF 4
Tags: GridDataControl
Martin Buchberger
Asked On March 17, 2014 10:49 AM UTC


When using the excel like filter in the GridDataControl, is there any chance to access the current visible rows via MVVM?

In the ItemsSource there are still all rows contained.

Thanks a lot

Replied On March 28, 2014 01:41 PM UTC

Hi Martin,

You can get the current visible rows by using the below code.

Code [C#]:



Saravanan M [Syncfusion]
Replied On April 8, 2014 12:15 PM UTC

Hi Martin,

 Thank you for interesting in Syncfusion products,

 We have analyzed your query. You can get the current visible rows by using Records API. Please refer the below code snippet.

 Code snippet[C#]:

var data= this.syncgrid.Model.View.Records;


 Please let us know if you have any queries,




Martin Buchberger
Replied On April 10, 2014 10:58 AM UTC

Is it also possible to access the Visible Rows via Binding in the ViewModel?

Saravanan M [Syncfusion]
Replied On April 15, 2014 10:59 PM UTC

Hi Martin,

 We are sorry about the inconvenience caused,

 We could not bind the visible rows in view model. You can access the filtered records using view.Records API as we mentioned in our previous update. Please let us know if you have any queries.




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

or the page will be automatically redirected to 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