• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Calendar Widget : First day of week Monday !!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calendar Widget : First day of week Monday !!

    Currently in the calendar grid the first day of the week is fix on a sunday

    while in all of europe the the first day of the week is a monday


    First day of week should be something which can be configured...

    apparently it is possible withing the extjs calendar grid to set this as a parameter

    (exrtract from the sencha docs)
    Code:
    Ext.create({
        xtype: 'calendar-weeksview',
       renderTo: Ext.getBody(),
       height: 400,
       width: 400,
     firstDayOfWeek: 1, // starts the view on Monday
       visibleDays: 5, // and displays it and the 4 days after
      store:
         { autoLoad: true,
               proxy: {
                type: 'ajax',
                url: 'calendars.php'
              },
             eventStoreDefaults:  {
               proxy: {
                type: 'ajax',
                 url: 'events.php' } } } });

  • #2
    Hi Thierry,

    One of your colleagues mentioned this yesterday in training. It was added and will be available in the next 6.1 update

    NAB - Calendar Config.png

    NAB - Cal App Var.png

    Thanks

    Comment


    • #3
      👍
      perfect

      thx

      Comment

      Working...
      X