Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Infragestic Date autoFormat issue
posted

Hi,

I am using autoFormat='Date', but it is not working in my project.  I think it should automatically rendered with respect to region change.

Please guide me how to use that. Give me proper solution.

Parents
No Data
Reply
  • 15320
    Offline posted

    Hello Sonali,

    At first please make sure that you have changed the region of your target browser, not the region of your OS. Secondly if you use igLoader for loading required scripts, please note that in order for this option (autoFormat) to work properly you should set autoDetectLocale: true to the loader. Otherwise if you use combined or not combined scripts, you should refer Infragistics.ui.regional-i18n.js and call something like this before grid initialization: $.ig.setRegionalDefault("de"). I'm attaching a sample demonstrating the second approach for your reference. Please let me know if you have any questions.

    Regards,

    Tsanna

    igGridGermanLocale.zip
Children
No Data