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. Image for the cookie policy date

About Excel type filters

Hi,


I am using an Excel type filter in a grid and would like the list portion of the filter to not display.

I want to apply it only to date/time type columns.


The image is as follows.


Is the above feasible?

If so, please let me know as I would like to implement it.

I am developing with ASP Core .net6 and the version of Syncfusion.EJ2.AspNet.Core I am using is 20.2.0.43.


Regards,

Pylori.


1 Reply

JC Joseph Christ Nithin Issack Syncfusion Team December 14, 2022 09:58 PM UTC

Hi Pylori,


  Greetings from Syncfusion support.


  Based on your query, you want to remove the content element in the filter popup of the excel filtering popup. Your requirement can be achieved by using the actionComplete event of the EJ2 Grid.


  Refer the below code example:


 

 

function actionComplete(args) {

  if (args.requestType == 'filterafteropen') {

    args.filterModel.dialogObj.contentEle.classList.add('e-hide');

  }

}

 


Regards,

Joseph I.


Loader.
Up arrow icon