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.

How to get filtered rows collection in Spreadsheet.

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

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7156 11/25/2016 05/10/2017 JavaScript ejSpreadSheet
Did you find this information helpful?
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

Add Comment
You must log in to leave a comment

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.