Our pure JavaScript Scheduler component


Post by Shitalaprasad »

Hello,

Below is the code.

features : {
taskEdit:{
items : {
// add some UI-elements to "General" tab
generalTab : {
title : 'Activity Data',
items : {
// Hide the duration field
durationField : null,
percentDoneField:null,
// Customize the name field
nameField:null,
nameField1 : {
type: 'text',
label : 'Activity ID',
name:'activityId',
editable:false,
width : 200,
height:20
},
nameField2 : {
type: 'text',
label : 'Activity Type',
name:'activityType',
editable:false,
width : 200,
height:20
},
nameField3 : {
type: 'text',
label : 'Activity Description',
name:'desc',
editable:false,
width : 200,
height:20
},
}
},
// hide "Notes" tab
notesTab : false,
successorsTab:false,
advancedTab:false,
predecessorsTab:false
},
// style:"height:800px;width:800px",
// height:"800px",
// width:"800px"
},


},

I need to customize the task Editor to have a custom tab which should display the data passed in tabular format.

Regards.
Shitalaprasad


Post by mats »

Please format code before pasting here. Also please post more context, what format is your data? Have you defined a custom event model with the fields you are using?


Post Reply