8 Answers, 1 is accepted
Thank you very much.
Just one more question, similar to above, I need to make some of the tasks appear in the treelist view inside Gantt chart to be unsortable while others sortable.
Unfortunately there isn't an event that's triggered on this action yet, so implementing this will require some coding. Here's the code you need to add to your page in order to achieve this:
thank you so much,
One more thing, how to avoid dropping of rows with data-level="0" to become the child of data-level="0" or further, so that the items with level 0 will always remain the same.
Thank you so much for the help,
One last question, can we change the icon "+" "-" "cross" that appears during the dragging.
Also the logic based on which these icon change
The Icon is changed based on the position of the task relative to the tasks underneath it. It's controlled by a class name, which changes between the following values, which are self-explanatory:
For instance the k-insert-top class is set to the icon when the task is to be added above another task.
To change the icon just use CSS and the above classes to set the background-image to your own icon.