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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Select gantt row

Thread ID:





120829 Oct 20,2015 03:43 PM UTC Oct 21,2015 11:11 AM UTC ASP.NET Web Forms 1
Tags: Gantt
Asked On October 20, 2015 03:43 PM UTC

Hou can i fire the event to select a specific gantt row, so that when the page loads a specific gantt row is slected?

Mahalakshmi Karthikeyan [Syncfusion]
Replied On October 21, 2015 11:11 AM UTC

Hi Dev,

It is possible to make any task selected at load time using “SelectedRowIndex” property. It is also possible to bind event while select a row using “RowSelected” client side event. Please refer the following code example for details.

<ej:Gantt ID="Gantt" runat="server"





<script type="text/javascript">

     function rowSelected(args) {

          // this part hold the code for row selected event       



Here we have selected the 5th row at load time.

We have also prepared a sample based on this and you can find the sample under the following location.

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/RowSelected-1595676998

Using the “SelectedRowIndex” property, we can render the Gantt with row selected during initial loading, is this your requirement or you still want to trigger an event to select a row in Gantt, based on a condition during initial loading?.


Mahalakshmi K.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon