messages.editor Object
The configuration of the Gantt editor messages. Use this option to customize or localize the Gantt editor messages.
messages.editor.assignButton String
(default: "Assign")
The text similar to "Assign" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
resources: {
dataColorField: "key",
dataSource: [
{ id: 0, name: "Resource 1", key: "green" },
{ id: 1, name: "Resource 2", key: "#32cd32" }
]
},
assignments: {
dataSource: [
{ taskId: 0, resourceId: 1, value: 1 }
]
},
messages: {
editor: {
assignButton:"Assign Resources"
}
}
});
</script>
messages.editor.editorTitle String
(default: "Task")
The text similar to "Task" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
messages: {
editor: {
editorTitle:"Edit Task"
}
}
});
</script>
messages.editor.end String
(default: "End")
The text similar to "End" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
messages: {
editor: {
end:"Task End"
}
}
});
</script>
messages.editor.percentComplete String
(default: "Complete")
The text similar to "Complete" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
messages: {
editor: {
percentComplete:"Task Progress"
}
}
});
</script>
messages.editor.plannedEnd String
(default: "Planned End")
The text similar to "Planned End" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
editable: {
plannedTasks: true
},
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
plannedStart: new Date("2014/6/17 8:00"),
plannedEnd: new Date("2014/6/17 12:00"),
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
messages: {
editor: {
plannedEnd:"Task Planned to End"
}
}
});
</script>
messages.editor.plannedStart String
(default: "Planned Start")
The text similar to "Planned Start" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
editable: {
plannedTasks: true
},
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
plannedStart: new Date("2014/6/17 8:00"),
plannedEnd: new Date("2014/6/17 12:00"),
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
messages: {
editor: {
plannedStart:"Task Planned to Start"
}
}
});
</script>
messages.editor.resources String
(default: "Resources")
The text similar to "Resources" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
resources: {
dataColorField: "key",
dataSource: [
{ id: 0, name: "Resource 1", key: "green" },
{ id: 1, name: "Resource 2", key: "#32cd32" }
]
},
assignments: {
dataSource: [
{ taskId: 0, resourceId: 1, value: 1 }
]
},
messages: {
editor: {
resources:"Task Resources"
}
}
});
</script>
messages.editor.resourcesEditorTitle String
(default: "Resources")
The text similar to "Resources" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
resources: {
dataColorField: "key",
dataSource: [
{ id: 0, name: "Resource 1", key: "green" },
{ id: 1, name: "Resource 2", key: "#32cd32" }
]
},
assignments: {
dataSource: [
{ taskId: 0, resourceId: 1, value: 1 }
]
},
messages: {
editor: {
resourcesEditorTitle:"Assign Task Resources"
}
}
});
</script>
messages.editor.resourcesHeader String
(default: "Resources")
The text similar to "Resources" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
resources: {
dataColorField: "key",
dataSource: [
{ id: 0, name: "Resource 1", key: "green" },
{ id: 1, name: "Resource 2", key: "#32cd32" }
]
},
assignments: {
dataSource: [
{ taskId: 0, resourceId: 1, value: 1 }
]
},
messages: {
editor: {
resourcesHeader:"Available Resources"
}
}
});
</script>
messages.editor.start String
(default: "Start")
The text similar to "Start" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
messages: {
editor: {
start:"Task Start"
}
}
});
</script>
messages.editor.title String
(default: "Title")
The text similar to "Title" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
messages: {
editor: {
title:"Task Title"
}
}
});
</script>
messages.editor.unitsHeader String
(default: "Units")
The text similar to "Units" displayed in Gantt task editor.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [{
id: 1,
orderId: 0,
parentId: null,
title: "Task1",
start: new Date("2014/6/17 9:00"),
end: new Date("2014/6/17 11:00")
}],
resources: {
dataColorField: "key",
dataSource: [
{ id: 0, name: "Resource 1", key: "green" },
{ id: 1, name: "Resource 2", key: "#32cd32" }
]
},
assignments: {
dataSource: [
{ taskId: 0, resourceId: 1, value: 1 }
]
},
messages: {
editor: {
unitsHeader:"Resource Units"
}
}
});
</script>
messages.editor.addNew String
(default: "Add")
The text that will be rendered in the Create button of the Dependencies and Assignments edit tables.
messages.editor.name String
(default: "Name")
The text that will be rendered as a title of the Predecessor and Successor columns in the Dependencies edit tables, and the Dependency column in the Assignments edit table.
messages.editor.percentCompleteHint String
(default: "value from 0 to 1")
The hint text that will be rendered for the percentCompleted NumericTextBox on the popup edit Form.
messages.editor.remove String
(default: "Remove")
The text that will be rendered in the Remove button of the Dependencies and Assignments edit tables.
messages.editor.actualStart String
(default: "Actual Start")
The label text of the start DateTimePicker editor when the planned editors are also present on the form.
messages.editor.actualEnd String
(default: "Actual End")
The label text of the end DateTimePicker editor when the planned editors are also present on the form.
messages.editor.parentOptionLabel String
(default: "-None-")
The optionLabel of the parent DropDownList editor.
messages.editor.general String
(default: "General")
The text used for the main (general) tab on the edit popup TabStrip.
messages.editor.predecessors String
(default: "Predecessors")
The text used for the predecessors tab on the edit popup TabStrip.
messages.editor.successors String
(default: "Successors")
The text used for the successors tab on the edit popup TabStrip.
messages.editor.other String
(default: "Other")
The text used for the other tab on the edit popup TabStrip.
messages.editor.dependencyType String
(default: "Type")
The text that will be rendered as a title of the Type column in the Dependencies edit tables.