Hi,
following your example of adding a custom column in the Gantt I changed the Header Text of some standard Columns Like Start Date and End Date in this way.
function Load(args) {
var columns = this.getColumns();
columns[0].width = "0px";
columns[2].headerText = "Planned start date";
columns[3].headerText = "Planned end date";
columns.push(
{
field: "ActualStartDate",
headerText: "Actual start date",
editType: "datepicker",
mappingName: "ActualStartDate", //Provide this mapping name
format: "{0:dd/MM/yyyy}",
width: "120px"
});
columns.push({
field: "ActualEndDate",
headerText: "Actual end date",
editType: "datepicker",
mappingName: "ActualEndDate", //Provide this mapping name,
format: "{0:dd/MM/yyyy}",
width: "120px"
});
columns.push({
field: "Order",
headerText: "Order",
editType: "numericedit",
mappingName: "Order", //Provide this mapping name,
width: "60px"
});
columns.push({
field: "IsFixedTask",
headerText: "",
editType: "booleanedit",
mappingName: "IsFixedTask",
width: "0px"
});
}
When I open the Add Dialog or Edit Dialog the Labels in the field corresponding to the Start Date and End Date are not changed according to the columns
An I doing soething wrong? or there are different properties to set to change those labels?
Thanks in advance
Andrea Perazzolo