Hi Tejaswini,
Thanks for using Syncfusion products.
Query : How to set the date format to dd-MMM-yyyy
We would like to inform you that, for specifying date format we need to use the property ‘e-dateformat’. On analysing your code, it is found that you have mentioned as ‘e-format’ while declaring the datepicker. Please use the code as shown below to resolve your issue.
<input id="datepick" class="col-md-8 col-lg-8" ej-datepicker e-value="dateValue" e-dateformat="dd-MMM-yyyy" e-change="changeformat()" e-enableStrictMode="true" /> |
You can refer the following common user guide for JavaScript to know more about getting started with our components. Under each components we have provided “Concepts and features” section which explains about the features of the particular component.
http://help.syncfusion.com/web
You can also refer the following class reference link for JavaScript, which showcases all the properties, methods and events supported by each component.
http://help.syncfusion.com/cr/js
Please let us know if you have further queries.
Regards,
HariKrishnan
Hi Tejaswini,
Thanks for the udpate.
Please get back to us if you need further assistance. We will be happy to help you out.
Regards,
Sasikala Nagarajan
I use this online service to format my js code, it's free.