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

Treegrid filter not working with multiple keys

Thread ID:

Created:

Updated:

Platform:

Replies:

141879 Jan 9,2019 11:11 AM UTC Jan 10,2019 04:10 AM UTC Angular - EJ 2 1
loading
Tags: TreeGrid
Amit Potdar
Asked On January 9, 2019 11:11 AM UTC

Hi,

 I have a requirement where i need to filter ej-treegrid with 2 filters. By using the below code, we can search with one filter only. Please suggest if there is any other way to do with multiple search items.

this.packageGrid.widget.setModel({
                    searchSettings:
                        {
                            fields: ["artifactTypeValue"],
                            operator: "equal",
                            key: this.selectedPackageArtifact.toString()
                        }
                },
                    true);

                this.packageGrid.widget.search(this.selectedPackageArtifact.toString());

As we could not find any other way, i applied this to search with one key, and manipulated the second filter in querycellinfo event. This is working fine when scroll is not enabled in grid. i.e items are less than scrollable length. If scroll is enabled, it is not working properly and displaying as per the attached image in rar. Please suggest on this.

Attachment: syncfusion_issue_20419160.rar

Vignesh Natarajan [Syncfusion]
Replied On January 10, 2019 04:10 AM UTC

Hi Amit, 
 
Thanks for contacting Syncfusion support.  
 
Query: “I have a requirement where i need to filter ej-treegrid with 2 filters.” 
 
Before proceeding with your query, we need some additional details regarding your issue. so kindly share the following details. 
 
  1. Share the full TreeGrid rendering code along with the queryCellInfo event.
  2. Kindly confirm whether your are using EJ2 TreeGrid (ejs-treegrid) because in the update you have mentioned that you are using ej-treegrid?.
  3. Are you facing this issue in Grid control?
  4. Share the video demonstration of the issue.
 
Above requested details will help us to validate the reported issue.   
 
Regards, 
Vignesh Natarajan 


CONFIRMATION

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

;