taskId in resorce popup

3 posts, 1 answers
  1. Ramana Meda
    Ramana Meda avatar
    7 posts
    Member since:
    May 2018

    Posted 11 Jun 2018 Link to this post

    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. Answer
    Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    957 posts

    Posted 13 Jun 2018 Link to this post

    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.
  3. Ramana Meda
    Ramana Meda avatar
    7 posts
    Member since:
    May 2018

    Posted 14 Jun 2018 in reply to Veselin Tsvetanov Link to this post

    Thanks Veselin
Back to Top