Resources PopUp customization

2 posts, 0 answers
  1. Raghu
    Raghu avatar
    1 posts
    Member since:
    Feb 2018

    Posted 11 May 2018 Link to this post

    hai how to keep our own popup instead of Resources popUp  in gantt chart 
  2. Ivan Danchev
    Ivan Danchev avatar
    2089 posts

    Posted 15 May 2018 Link to this post

    Hello Raghu,

    You can open your own custom popup by attaching a mousedown event handler to the "Assign"  button in the default Gantt editor, then stopping the event's propagation and initializing your own custom popup. Here's a dojo example, which shows how this can be done. The relevant logic is in the Gantt's edit event handler:
    function onEdit(e){
      var element = $(".k-edit-form-container").find("div[data-container-for='resources']");
      //handle Assign button click
      var btnAssign = element.contents().eq(0)
      btnAssign.on('mousedown', function(e){
        var dialog = $("#dialog").data("kendoWindow");
        if(!dialog) {
           width: 500,
           height: 600,
           title: "My Custom Dialog Title"
          var dialog = $("#dialog").data("kendoWindow");
        else {

    Ivan Danchev
    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.
Back to Top