jQuery UI Widgets › Forums › Editors › DateTimeInput › Responsive Design & Custom Globalizaion
This topic contains 6 replies, has 2 voices, and was last updated by shimmoril 12 years, 6 months ago.
-
Author
-
Two separate questions. Firstly, is it possible to have the datetime widget inherit it’s width from the parent element (likely a div). In our case we want the widget to be sized appropriately based on the current size of the page. Alternatively, being able to provide a percentage width to the widget would be useful.
Secondly, is it possible to customize the datetime widget in the same manner as the grid? We’d like it to be translated, but the provided globalization files don’t encompass all the languages we support.
Thank you
Hi shimmoril,
See how to localize the jqxDateTimeInput: localization.htm.
jqxDateTimeInput’s width property can be set to a percentage value.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comYour link doesn’t work.
The percentages are working now, I’m not sure what the issue I was having yesterday was. One other question: is it possible to set min and max widths on the datetime inputs? The percentages work great until the page starts to get very small or very large.
Hi shimmoril,
The link is updated. It is not possible to set min and max widths.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks for the correct link. I understand how to localize using your files, but as I mentioned in my original question the provided globalization files don’t encompass all the languages we need to support. For the grids we have set up the localizationobj as shown in this example: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm?%28classic%29#demos/jqxgrid/localization.htm.
Is it possible to do the same with the datetimeinput?
Hi shimmoril,
You can create additional localization files(if necessary) using the same pattern as shown in the provided localization files and apply the localization to the jqxDateTimeInput by setting the widget’s culture property.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks Peter.
-
AuthorPosts
You must be logged in to reply to this topic.