I am working on Advance Gantt chart with ASP.NET & SQL Server, and stuck up at the following issues, would you please help me
1. I have to show the dates in UK format, so I have changed the code in DemoGanttPanel.js. The date is displayed in UK Format, but the calculations are not working. (The days count is not updating, and sometimes counting holidays also)
// Define the static columns
columns: [
new Gnt.column.WBS({ width: 70 }),
{
xtype : 'treecolumn',
header: 'Tasks',
sortable: true,
dataIndex: 'Name',
width: 200,
field: {
allowBlank: false
},
renderer : function(v, meta, r) {
if (!r.data.leaf) meta.tdCls = 'sch-gantt-parent-cell';
return v;
}
},
{
xtype: 'gridcolumn',
header: 'Task Number',
sortable: true,
dataIndex: 'task_number',
field: {
allowBlank: true
}
},
{
xtype: 'startdatecolumn',
renderer: Ext.util.Format.dateRenderer('d-m-Y'),
editor: new Ext.form.DateField({
format: 'd-m-Y'
})
},
{
//hidden : true,
xtype: 'enddatecolumn',
renderer: Ext.util.Format.dateRenderer('d-m-Y'),
editor: new Ext.form.DateField({
format: 'd-m-Y'
})
},
for example: if i give 8 hours, it should say 1 day, similarly 14 hours 1.5 days, 24 hours 3 days. Or either it should not allow me to take more than 8 hours.
Thanks
Gopi Krishna