I’m trying to localize a jqxgrid in which I have a date range filter. I found http://www.jqwidgets.com/community/topic/row-filter-calendar-localization/ which suggests doing:
createfilterwidget: function (column, columnelement, widget) {
widget.jqxDateTimeInput({ culture: 'en-GB' });
},
Day names are honored but first day is not. I have an example here: http://jsfiddle.net/mdavis/0bk8Lwdd/
This is using de-DE
as the culture which has firstDay: 1
.
This works when using jqxDateTimeInput directly (see http://jsfiddle.net/jqwidgets/xZYXn/) in which case the first day of the week is “Mo” however when used inside a grid, the first day of the week is “So”.
I see you can manually set the first day of the week on jqxDateTimeInput using firstDayOfWeek
, but that seems redundant and error prone.
Is this expected behavior or a bug?