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
close icon

Date Filter

Hi,

I have a couple date columns in my grid, I have Allowed filtering of type Menu, however when I click on the little funnel icon to call the filter menu, nothing happens.
Have I missed something?

Cheers,
H

5 Replies

RU Ragavee U S Syncfusion Team February 7, 2017 06:38 AM UTC

Hi Henryk, 

Thanks for contacting Syncfusion support. 

We are able to reproduce the reported issue at our end in the following scenario i.e., if the column value is null for the first record of the Grid dataSource. 

The Grid can get the column’s data type from the first record of data source by default. When you bind the empty data source, Grid cannot find the actual data type of a column. In this case, you have to set the data type of the column explicitly. 

We have already discussed the same in following knowledge base document. 


If you still face any difficulties, please share the following details. 

1.       Clear replication procedure 
2.       Video demo of the issue that you are facing 
3.       If any script error obtained, please share the screenshot of the stack trace of the error. 
4.       Issue reproducing sample or hosted link of the sample. 

Regards, 
Ragavee U S. 



HE Henryk February 7, 2017 06:49 AM UTC

Thanks mate, that did the trick!

Does the KB article need updating?   I had to use .Type(ColumnType.Date)

Cheers,
H



RU Ragavee U S Syncfusion Team February 8, 2017 11:50 AM UTC

Hi Henryk, 

Thanks for the update. 

The Type property of the Grid columns accepts both string and enum value and thus has two overloads. In the KB, we have explained by specifying the type property with string value.  

Regards, 
Ragavee U S. 



HE Henryk February 8, 2017 01:40 PM UTC

Cool, fair enough.
Thanks.
H


RU Ragavee U S Syncfusion Team February 9, 2017 05:36 AM UTC

Hi Henryk, 
  
Thanks for your update. 
 
Regards, 
Ragavee U S. 


Loader.
Live Chat Icon For mobile
Up arrow icon