简体   繁体   中英

yadcf - range date filter - jquery-ui datepicker

is possible to set in this datepicker weeks starts on Monday?

Here is a fiddle to explain this.

The second column (date) is a range date and when you try to select start date in the filter the weeks always start on Sunday.

Thanks in advance.

You should use the filter_plugin_options of yadcf in order to pass the third party plugin its init options, in this case the following will do

{   
    column_number: 1,
    filter_type: 'range_date',
    filter_plugin_options: {
        firstDay: 1
    }
}

See working jsfiddle and read related answer

Always bet on yadcf

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM