ejDatePicker
2 posts
• Page 1 of 1
ejDatePicker
Being unable to get ejDatePicker working properly, I decided to add the control with JS:
That is working nicely except for the localization which is not applied - that thing still comes up in english. I've read SF's doc at http://helpjs.syncfusion.com/js/datepic ... balization and I believe that I did all right, perhaps SF-JS is still missing somewhere???
- Code: Select all
ip←(d.Add div'' '.col-lg-4').Add _html.input''('id' 'bday' 'name' 'bday' 'type' 'text' 'class' 'form-control col-lg-9' 'data-validate' 'required')
Add Script ScriptFollows
⍝ $(document).ready( function () {
⍝ $("#bday").ejDatePicker({
⍝ locale: 'de-DE' ,
⍝ highlightWeekend: true ,
⍝ startDay: 1
⍝ });
⍝ });
That is working nicely except for the localization which is not applied - that thing still comes up in english. I've read SF's doc at http://helpjs.syncfusion.com/js/datepic ... balization and I believe that I did all right, perhaps SF-JS is still missing somewhere???
-
MBaas - Posts: 156
- Joined: Thu Oct 16, 2008 1:17 am
- Location: Gründau / Germany
Re: ejDatePicker
I fixed it by editing resources.xml and adding a reference to globalize.cultures.min.js:
- Code: Select all
<resource>
<name>cultures</name>
<script>/Syncfusion/external/jquery.globalize.js</script>
<script>/Syncfusion/external/globalize.cultures.min.js</script>
</resource>
-
MBaas - Posts: 156
- Joined: Thu Oct 16, 2008 1:17 am
- Location: Gründau / Germany
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group