Datepicker/popup calendar week start day

QuestionsDatepicker/popup calendar week start day
Jim asked 4 years ago

When I edit a record that has a date column, the popup calendar on edit screen shows a datepicker like popup calendar, however the week start day is Monday, how can I make the start day Sunday?

Jim

1 Answers
Abu Ghufran Staff answered 4 years ago

Hi,

We use jQueryui datepicker so you can set firstDate as per link below:

# opts array can have these options: http://api.jqueryui.com/datepicker/

$col[“formatter”] = “date”;
$col[“formatoptions”] = array(“srcformat”=>’Y-m-d’,”newformat”=>’d.m.Y’, “opts” => array(“firstDay”=> 0));

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

8 + 3 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?