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.

How to hide the plus/minus sign just for the nested table

Thread ID:

Created:

Updated:

Platform:

Replies:

100184 Jul 11,2011 10:31 AM Jul 13,2011 06:30 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
rayzhahng
Asked On July 11, 2011 10:31 AM

Hi, I am using the gridgroupcontrol, and for some rows there are nested tables, but I do not want to show the plus/minus sign in the row header, instead, I want the nested tables only shows after user click certain column in that row, any idea how to do this? much appreciated your response

Thanks


Ranjithkumar R G [Syncfusion]
Replied On July 13, 2011 06:30 AM

Hi Rayzhahng ,

Thanks for using Syncfusion products.

You can access the RecordPlusMinus cells through QueryCellStyleInfo event and change the cell type as “Static” to hide the Plus/Minus symbol. Please refer the below code snippet which illustrates this:

[CodeBehind-CS]



if (e.TableCellIdentity.TableCellType == GridTableCellType.RecordPlusMinusCell)
{
e.Style.CellType="Static";
}


Please refer to the below link to download the sample application.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=sample-2-78543-2123037777.zip

Please let me know if you have any concern.

Regards,
Ranjithkumar


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.

;