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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC and selection mode

Thread ID:

Created:

Updated:

Platform:

Replies:

76344 Sep 2,2008 06:32 PM UTC Sep 8,2008 10:55 AM UTC WinForms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 2, 2008 06:32 PM UTC

Hi,

I'm using a GGC and I want two differents mode :

-row mode: when the user click on a cell, only the entire row can be selected, the user can't edit the cell.

-grid mode: This is the default behaviour.

How can I do the Row Mode?


Thanks,

Fred


Jisha Joy [Syncfusion]
Replied On September 4, 2008 09:16 AM UTC

Hi Fred,

We appreciate your interest in Syncfusion Products.

Please set the ListBoxSelectionMode to SelectionMode.One. Please refer the code:


this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.One;

Please try this and let me know if this helps.

Regards,
Jisha


Administrator [Syncfusion]
Replied On September 5, 2008 05:26 PM UTC

Thank you for your answer.

When I use you example, all individual cells can be edited. I want hat only the row can be selected.

Do I have to change all cells to read-only?


Jisha Joy [Syncfusion]
Replied On September 8, 2008 10:55 AM UTC


Hi Fred,

Thank you for your update.

Please try to set TableDescriptor.AllowEdit to false.

this.gridGroupingControl1.TableDescriptor.AllowEdit = false;

Please let me know if it does not serve you.

Regards,
Jisha


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.

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

;