Dynamically set presets active

Hello, please help with presets,  When dynamically set date , presets value doesn't set active like this picture. Thank you!


1 Reply

BM Balaji M Syncfusion Team September 17, 2018 11:57 AM UTC

Hi Ali Kholmatov, 

Thanks for contacting Syncfusion Support. 

We have checked with your query and can’t reproduce the reported issue at out end. We would like to let you know that whenever the value of the DateRangePicker component changed and if the selected range value is equal to any of the presets range value that is being set while initializing the component, then the corresponding preset will become active. So, please ensure that the range value of the preset is defined correctly for each preset while initializing the component to resolve this issue at your end. 

For your convenience we have also created a simple sample with preset ranges and attached it in the below link. Please check it. 


If this is not your case, then please revert back to us with more information of your requirement along with an issue reproducing sample (if possible) so that we can validate and provide an exact solution to resolve this issue at your end. 


Regards, 
M. Balaji  


Loader.
Up arrow icon