This is a migrated thread and some comments may be shown as answers.

taskId in resorce popup

2 Answers 16 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 11 Jun 2018, 02:27 PM

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

Sort by
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 the select() 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.

Regards,
Veselin Tsvetanov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
n/a
Top achievements
Rank 1
answered on 14 Jun 2018, 11:40 AM
Thanks Veselin
Tags
Gantt
Asked by
n/a
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
n/a
Top achievements
Rank 1
Share this question
or