How can i change start of week?

How can i change start of week?

casuistcasuist Posts: 38Questions: 15Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

How can I change the start of the week?
The default is on Monday.
I want to change it to "Sunday".
Please Help me...

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,177Questions: 1Answers: 2,590
    Answer ✓

    You can use firstDay for that. In Editor, you would have something like

    1
    2
    3
    4
    5
    6
    label: 'Registered date:',
    name:  'registered_date',
    type:  'datetime',
    opts:  {
        firstDay: 0
    }

    Colin

  • casuistcasuist Posts: 38Questions: 15Answers: 0

    Thanks very much 4 colin !!!

Sign In or Register to comment.