We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Gantt

Hi!

I would like to run an ajax event as soon as the gantt component finishes rendering the data.
Do you have an event that can be called?

Please, do you have a demo for me?

Thanks

Edson Tanaka.

3 Replies

JA Jesus Arockia Sankaran S Syncfusion Team January 30, 2020 05:33 AM

Hi Edson, 
 
 In Gantt, DataBound event triggers once the Gantt was rendered. Please find the code snippet below, 
 
@Html.EJS().Gantt("Gantt").DataBound("DataBound").Render() 
  
<script> 
    function DataBound(args) { 
        alert("Gantt was rendered"); 
    } 
</script> 
  
We have prepared sample with DataBound event. Please find the sample from below link, 
  
Please get back to us, if you need any further assistance on this. 
 
Regards, 
Jesus Arockia Sankaran S 



ET Edson Tsuyoshi Tanaka January 30, 2020 05:52 AM

Thanks.

That was what I wanted.

Regards,
Edson Tanaka.


JA Jesus Arockia Sankaran S Syncfusion Team January 30, 2020 08:17 AM

Thanks for the information.

Loader.
Live Chat Icon For mobile
Up arrow icon