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

Hide row

Thread ID:





120900 Oct 26,2015 04:17 PM UTC Oct 29,2015 12:25 PM UTC ASP.NET Web Forms 6
Tags: Gantt
Asked On October 26, 2015 04:17 PM UTC

How can i hide a specific row from being displayed ?

Mahalakshmi Karthikeyan [Syncfusion]
Replied On October 27, 2015 01:03 PM UTC

Hi Dev,

Can you please share more details about your requirement?

Do you want to hide the row after performing any action? or

Do you want to hide the row in load time?

It will be helpful for us to server you better.


Mahalakshmi K.

Replied On October 27, 2015 01:48 PM UTC

I just want to hide specific rows at load time, rows that have are of a  particular type, based on a row property.

In my particular case, I have rows that are activities, projects an tasks. I don't wan't to show rows of type 'task'.

Mahalakshmi Karthikeyan [Syncfusion]
Replied On October 28, 2015 05:59 AM UTC

Hi Dev,
We can hide particular task at load time with the help of “RowDataBound” and “QueryTaskbarInfo” client side event. Please refer the below code example for details.

<head runat="server">

<script type="text/javascript">

      function rowbound(args) {


          if (args.data.taskName == "Child Task 1") {

              $(args.rowElement).css("display", "none");



      function queryTaskbarInfo(args) {

          if (args.data.taskName == "Child Task 1") {

              var target = $(args.taskbar).closest('tr');

              $(target).css("display", "none");





<form id="form1" runat="server" height:100%;width:100%;">       


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






Here we have hided the Tasks with its task name contains “Child Task 1”.
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/HideTask1279156932
Mahalakshmi K.

Replied On October 28, 2015 11:20 AM UTC

Can you please send the sample solution using the 13.3400.0.7 version ?

Replied On October 28, 2015 11:25 AM UTC

I followed your sample and now the row does appear, but I can still click in the parent task  to expand its children, and when I do that, it expands one row.
how can I disable the expand "arrow" in the parent ?
please see attachment.

Attachment: Capture_e5dcc294.zip

Mahalakshmi Karthikeyan [Syncfusion]
Replied On October 29, 2015 12:25 PM UTC

Hi Dev,

We can also reproduce the issue while hiding the row at UI level. But At present it is not possible to hide the row at all scenarios. So we have logged a feature report regarding this. A support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.


Please let us know if you require further assistance on this.      


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