Discuss anything related to web development but no technical support questions


Post by xjpmauricio »

Hi, is there a way to format the days on each of the scheduler columns? here's what we have:
Capture.JPG
Capture.JPG (22.26 KiB) Viewed 3310 times
Instead of 9/11, 10/11, etc...i'd like to have 9/Nov, 10/Nov, etc. Is it possible?

Thanks.

Post by mats »

Sure, just use your own headerRenderer:
Ext.apply(Sch.ColumnFactory.headerRenderers, {
    day : function(start, end, cfg) {
            cfg.header = start.format('j/M');
    }
});

Post by xjpmauricio »

Thanks a lot.

Post Reply