title: Dxhtml gantt chart using Angular_2
body: <p>I am working on dxhtml gant chart using angular 2.Below is the output which I am getting <a href="https://i.stack.imgur.com/hb7yB.png" rel="nofollow noreferrer">output Image</a></p>
  
  <pre><code>gantt.attachEvent("onBeforeTaskAdd", function(id,item){ 
      //any custom logic here return true; 
  }); //This is my task.ts file content export class Task 
  { id: number; start_date: string; text: string; progress: number; duration: number; parent: number; }
  </code></pre>
  
  <p>Here I want to alert or abort the operation when user is trying to load the same task description ,but I am not getting how to proceed with It.
  <a href="https://i.stack.imgur.com/EHzc4.png" rel="nofollow noreferrer">code for task inserting updating</a></p>