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.

Row selection

Thread ID:

Created:

Updated:

Platform:

Replies:

78147 Dec 2,2008 04:03 AM Dec 3,2008 06:05 AM ASP.NET Web Forms (Classic) 2
loading
Tags: GridGroupingControl
Lucie Houel
Asked On December 2, 2008 04:03 AM

Hi,

I'm using Essential Studio 6.3.0.30 with VS2008.

I'd like my gridgroupingcontrol rows stay unselected :

1) When the grid is displayed, no row must be select. After setting my datasource, I've put this in my code :

GGC_Design.Table.SelectedRecords.Clear()

But it doesn't work, the first row is selected when the grid is displayed.

2) I'd like that rows stay without selection when I click on it, just expand when I click on the plus icon.

3) I'd like to remove the column with the little black triangle.

How can I do these two last things.

Thanks a lot for your help.

LyLy


Rajarajeswari S [Syncfusion]
Replied On December 3, 2008 05:13 AM

Hi LyLy,

Thanks for using Syncfusion products.


1) Gridgroupingcontrol rows stay unselected


If the ListBoxSelection mode is set to None, selection will not be happened on the Grid.

this.GridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.None;

It will also remove the selection of first record, when the grid is displayed.

2) I'd like to remove the column with the little black triangle:

The column with the black triangle is called RowHeaderColumn, we can remove it using the below code snippet.

this.GridGroupingControl1.TableOptions.ShowRowHeader = false;


Please try the above and let us know if this helps you out.

Regards,
Raji



Lucie Houel
Replied On December 3, 2008 06:05 AM

Hi Raji,

It works great.

Thanks a lot.

LyLy


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.

;