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.
Unfortunately, activation email could not send to your email. Please try again.

GridDataControl access Filtered Rows <-> MVVM

Thread ID:





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


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 09:41 AM

Hi Martin,

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

Code [C#]:



Saravanan M [Syncfusion]
Replied On April 8, 2014 08:15 AM

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 06:58 AM

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

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

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.

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.