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.
Unfortunately, activation email could not send to your email. Please try again.

Select gantt row

Thread ID:

Created:

Updated:

Platform:

Replies:

120829 Oct 20,2015 11:43 AM Oct 21,2015 07:11 AM ASP.NET Web Forms 1
loading
Tags: Gantt
ShareValue
Asked On October 20, 2015 11:43 AM

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

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

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"

//...

       SelectedRowIndex="5"

       RowSelected="rowSelected">

</ej:Gantt>  

<script type="text/javascript">

     function rowSelected(args) {

          // this part hold the code for row selected event       

     }

</script>

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?.


Regards,

Mahalakshmi K.


CONFIRMATION

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.

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.

;