Filter on empty cells

Hello,

I'm using a EJS grid and i miss something from EJ1.

I would like to use filtering even on my cells that are empty (without using EJ1).

Now, i replaced empty string cells with "-", so my filter show a checkbox with "-" cells. Works fine but if possible i would like to show it without using "-".

But I can't find any solution about empty cells with date type.

My code is:
queryCellInfo(args) {
  if (args.column.customAttributes.typeManager == "DATE") {
     if (args.cell.textContent == null || args.cell.textContent == "") {
         args.cell.textContent = "-";
     }
   }
   ......
}

customAttributes.typeManager is an attribute created by ourselves that will be "date" if the cell is date type.

Thanks,
Hafid.

2 Replies

CM Cédric Marceau September 12, 2018 07:25 AM UTC

Hi Hafid,

i've got exactly the same problem with EJS "Date" type cells. I cannot filter my empty cells in order to get only records without defined date associated. This was working quite fine in EJ1, with : Custom Filter / Equal (empty date). Same action in EJS does not work anymore ! 

This is "Excel" type filter being used.

Didier


VA Venkatesh Ayothi Raman Syncfusion Team September 12, 2018 10:20 AM UTC

Hi Hafid, 

Thanks for contacting Syncfusion support. 

We have analyzed your query and we are able to reproduce the reported issue at our end. We have logged the “null values are not showing as blanks in date type column- filter checkbox” as a bug and the fix for this issue will be available in our upcoming patch release which is expected to be rolled out on 26th September, 2018. We appreciate your patience until then. 

Regards, 
Venkatesh Ayothiraman. 


Loader.
Up arrow icon