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

How can I get selected rows after grouping and filtering?

Thread ID:





130357 May 8,2017 06:11 PM UTC May 9,2017 01:36 PM UTC ASP.NET MVC 1
Tags: Grid
Asked On May 8, 2017 06:11 PM UTC

If I have a grid with data that are not filtered nor grouped, I can retreive the selected row with the script:

// Create grid object.
var gridObj = $("#Grid").data("ejGrid");
// Gets the filtered or searched records in Grid
Suppose I have a grid that loads data grouped by one column. Then I filter the data and select one filtered record. How can I get the Id of the selected filtered record?



Prasanna Kumar Viswanathan [Syncfusion]
Replied On May 9, 2017 01:36 PM UTC

Hi Claudio, 


Thanks for contacting Syncfusion support.  


To get the selected record data, use getSelectedRecords method of ejGrid. The getSelectedRecords method will return the selected record details from the Grid.  


So, if you need to get the selected record details after grouping and filtering, use getSelectedRecords method of ejGrid. If you need to get the selected rows, use getSelectedRows method of ejGrid.  


Refer the below help documents for getSelectedRecords  and getSelectedRows  







Prasanna Kumar N.S.V 


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