Hello,
The '
add' event is fired before the newly created gantt task is added to the dataSource and since the orderId is calculated after the task is added to the dataSource, thus its value is always "0", which is the default value. In order to obtain the orderId of the newly added tasks, the following code snippet could be used:
Regards,
Dimitar Terziev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!