How to get task id in customize resources popup in tasks grid
how to hidden on column in Tasks Gantt chart
my gantt chart not ajax binding
2 Answers, 1 is accepted
0
Accepted
Veselin Tsvetanov
Telerik team
answered on 13 Jun 2018, 09:35 AM
Hi Ramana,
As far as I can understand, you need to get the id of the currently edited in the Resource pop-up Task. If this is the case, you could do that by using theselect()and dataItem()methods exposed by the Gantt API:
var gantt = $('#gantt').getKendoGantt();
var row = gantt.select();
var dataItem = gantt.dataItem(row);
var id = dataItem.id;
I am not quite sure if I have correctly understood the second part of your question. Do you need to hide one of the columns in the Gantt? If this is the case, you should simply skip the respective column when defining the Columns for the Gantt. The widget will render only those columns that were defined.