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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid filter window close event

Thread ID:

Created:

Updated:

Platform:

Replies:

151399 Feb 10,2020 03:02 PM UTC Feb 12,2020 12:28 PM UTC Angular - EJ 2 1
loading
Tags: Grid
Unknown
Asked On February 10, 2020 03:02 PM UTC

Hello,

is there any event to know when my filter windows are closing/closed?
For now I was unable to find if any event is emitting.

I need event to know about both filter windows (just to know when these windows closes on OK, CANCEL, X click or in other situations):



Prasanna Kumar Viswanathan [Syncfusion]
Replied On February 12, 2020 12:28 PM UTC

Hi Ac, 
 
Greetings from syncfusion support 
 
Query: “is there any event to know when my filter windows are closing/closed? 
 
Yes, the actionBegin and actionComplete events will be triggered. The actionBegin event triggers when Grid actions such as sorting, filtering, paging, grouping etc., starts and then the actionComplete event triggers when Grid actions such as sorting, filtering, paging, grouping etc. are completed. Please refer the below code example and API for more information. 
 
App.component.html  

<ejs-grid #grid [dataSource]='data' (actionBegin)='begin($event)' (actionComplete)='complete($event)' allowPaging='true' allowFiltering='true' [pageSettings]='pageSettings' [filterSettings]='filterSettings'> 
        <e-columns> 
            .  .  .  .  .  .  .  .  . 
            .  .  .  .  .  .  .  .  . 
        </e-columns> 
    </ejs-grid> 
  
 
App.component.ts  

export class AppComponent { 
    public data: Object[]; 
 
    @ViewChild('grid') 
    public grid: GridComponent; 
 
    ngOnInit(): void { 
        this.data = orderDataSource; 
    } 
 
    begin(args): any { 
      if(args.requestType === "filtering") { 
        //triggered 
      } 
    } 
    complete(args): any { 
      if(args.requestType === "filtering") { 
        //triggered 
      } 
    } 
} 
  
 
 
Regards,
Prasanna Kumar N.S.V
 


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

Live Chat Icon For mobile
Live Chat Icon