Grid / Searching "notEqual" not working

HI
Grid Search operators =notEqual ,it not working.

https://stackblitz.com/edit/angular-23jysa?file=app.component.ts

1 Reply 1 reply marked as answer

AG Ajith Govarthan Syncfusion Team March 2, 2021 11:00 AM UTC

Hi techlandandyzhang, 
 
Thanks for contacting syncfusion support. 
 
Query: Grid Search operators =notEqual ,it not working. 
 
Based on your query we suspect that you have used the not equal operator as “notEqual” instead of “notequal”. So, we suggest you use the operator in the lowercase to perform the initial search operation properly with notequal operator. For your convenience we have attached the sample so please refer them for your reference. 
 
Screenshot:  
 
Code Example: 
App.component.ts 
 
  public ngOnInit(): void { 
    this.data = categoryData; 
    this.pageSettings = { pageCount: 5 }; 
    this.searchOptions = { 
      fields: ["ProductID"], 
      operator: "notequal", 
      key: "1", 
      ignoreCase: true 
    }; 
  } 
 
 
 
Please get back to us if you need further assistance. 
 
Regards, 
Ajith G. 


Marked as answer
Loader.
Up arrow icon