You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -299,7 +299,7 @@ The following options take a single numeric parameter; a value of 1 will enable
299
299
|_setShowEndWeekDate():_|Controls whether the major heading in "Day" view displays the week end-date in the appropriate format (see [below](#user-content-display-date-formats)), defaults to 1 (show date)|
300
300
|_setShowWeekends():_|Controls whether shows the weekend days in the Day view Format, defaults to 1 (show weekends)|
301
301
|_setShowDeps():_ |Controls display of dependancy lines, defaults to 1 (show dependencies)|
302
-
|_setEvents():_ |Controls events when a task is click in table data. You have to pass an object with the column and function. ex.: ` vEvents: { taskname:console.log, res:console.log }`|
302
+
|_setEvents():_ |Controls events when a task is click in table data. You have to pass an object with the column and function. If the user click in the header, the event willbe triggered btu instead of the task will be a object about the header. ex.: ` vEvents: { taskname:console.log, res:console.log }`|
303
303
|_setEventClickRow():_ |Controls events when a task row is clicked. Pass a function to execute ex.: `vEventClickRow:function(e){console.log(e)}`|
304
304
|setEventClickCollapse():_ |Controls events when a group task is collapsed (open or close events). Pass a function to execute ex.: `vEventClickCollapse:function(e){console.log(e)}`|
305
305
|_setEventsChange():_ |Controls events when a task row is cliked. Pass a function to execute ex.: `vEventsChange: { taskname:function(task, event, cell, column){ console.log(task, event, cell, column); } }`|
@@ -505,6 +505,7 @@ g.setOptions({
505
505
planstart:console.log,
506
506
planend:console.log,
507
507
cost:console.log,
508
+
additional_category:console.log, // for additional fields
0 commit comments