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 to get filtered rows collection in Spreadsheet.

Platform: JavaScript |
Control: ejSpreadSheet |
Published Date: November 25, 2016 |
Last Revised Date: May 10, 2017

Solution

This Knowledge Base explains the way to get the filtered rows collection in the Spreadsheet.

  1. We can customize and get the filtered rows by using actionComplete client side event.

JS

 

MVC

 

 

 

ASP

 

 

JS

 

  1. Here, the getFilteredRowsCollection() method has been extended from Spreadsheet.
  2. You can use the below code as a separate script file and load this script file after loading ej.web.all.min.js file.

SpreadsheetFilterPlugin.js

 

ADD COMMENT
You must log in to leave a comment
Comments
Zach Durtschi
May 09, 2017
I'm not sure what OrderItemsDataContext() is. Is there more code that isn't shown here? This is the only page that comes up on Google, and searching on help.syncfusion.com brings nothing up. Reply
Shanmugaraja K [Syncfusion]
May 10, 2017

Hi Zach Durtschi,

 

Thanks for your comment,

 

The OrderItemsDataContext is a class which have a list collection and we can bind this data source into the Spreadsheet. After binding the data, you can apply filter and get the filtered collection by using getFilteredRowsCollection method. Also, we have refreshed the KB with this comments.

 

Regards,

Shanmugaraja K

Please sign in to access our KB

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