Custom filter on click of grid filter

Grid filter works for the selected/clicked column. I need to bind the filter option with global filter where on click of column filter I need to call api with all selected filter and then show the result in grid.
ejs-grid filter only allows me to filter that particular row within result. In my case I have implemented custom pagination so at a time only few data will be available.
So I need to call my api everytime with set of filter (column name, column value, operator - multiple column). How to achieve this with angular 9.
  

Regards
Neha

Grid filter is set to true : <ejs-grid
      #grid
      [dataSource]="data"
      [allowPaging]="true"
      [allowSorting]="true"
      [allowFiltering]="true"
      [filterSettings]="filterSettings"
      [pageSettings]="initialPage"
    >

1 Reply

AG Ajith Govarthan Syncfusion Team September 25, 2020 01:02 PM UTC

Hi Neha, 

Thanks for contacting Syncfusion support. 

Based on your requirement we suspect that you have used excel filter in the grid component and want to bind external dataSource to the checkbox filter dialog to filter the values based on the external dataSource.  

So, please confirm that you need the above behavior and also share the below details to validate further on your requirement. 

1. Share the complete Grid rendering code example. 

2. Share the API code example mentioned in your query 

3. Share the type of filter used in the Grid. 
 
4. Share the Syncfusion package version. 
 
Regards, 
Ajith G. 


Loader.
Up arrow icon