[INFO REQ] Date Format
Can we change the date format displaying in the screen shot in column and also on the top bar where dates are displaying.
we want the format like DD MMM (eg 02 Oct).
Can we change the date format displaying in the screen shot in column and also on the top bar where dates are displaying.
we want the format like DD MMM (eg 02 Oct).
Yes sure, see https://bryntum.com/products/grid/docs/api/Grid/column/DateColumn#config-format on the Column class.
we want the format like DD MMM (eg 02 Oct).
And Here is how you can change the viewpreset header date format
gantt.viewPreset.headers[0].dateFormat = 'DD MMM';
Here is the result
Hi Tasnim,
It is working fine for the header in viewPreset with your code but I can not get the column one think I'm missing something an error is coming when I'm setting the dataHelper format can you please help me with want to change the column dates format as well like we changed the header preset.
Hey kamran812
You need to config your column like this
{ type : 'startdate', format : 'DD MMM' },
thank you so much, resolved