GGC and selection mode

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


3 Replies

JJ Jisha Joy Syncfusion Team 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



AD Administrator Syncfusion Team 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?



JJ Jisha Joy Syncfusion Team 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


Loader.
Up arrow icon