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: index.html
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,9 @@ <h2>
78
78
},
79
79
onAddClick: function(dt, rowId) {
80
80
alert("Empty space clicked - add an item!");
81
+
},
82
+
onRender: function() {
83
+
console.log("chart rendered");
81
84
}
82
85
});
83
86
</pre>
@@ -213,6 +216,14 @@ <h2>
213
216
<td>
214
217
a JS Function that gets called when clicking on a Gantt-Item. <br/>The parameter passed to the function is the DateTime in ms for the clicked Cell, and the ID if the source object (row)</td>
215
218
</tr>
219
+
<tr>
220
+
<td>
221
+
<code>onRender</code></td>
222
+
<td>
223
+
<code>function () { return; }</code></td>
224
+
<td>
225
+
a JS Function called whenever the chart is (re)rendered</td>
0 commit comments