Hi
in gridGrouping control, i have some selection problems, could u please tell me how can i select all the current row (without highlighting the current cell with bold border) after clicking on the left or the right button
Thanks
ST
stanleyj
Syncfusion Team
December 12, 2005 04:31 PM UTC
Hi,
Try these:
this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None;
this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
this.gridGroupingControl1.TableOptions.ListBoxSelectionCurrentCellOptions = GridListBoxSelectionCurrentCellOptions.None;
Best regards,
Stanley
AD
Administrator
Syncfusion Team
December 12, 2005 04:41 PM UTC
Thanks
but i still have the bold border in the current cell selected
in the TableControlCurrentCellActivating handler
i added e.Inner.ColIndex = 0;
it works correctly just for the parent& child tables but in the grandChild table , i cant not select rows
Regards
>Hi,
>
>Try these:
>
> this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.None;
> this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
> this.gridGroupingControl1.TableOptions.ListBoxSelectionCurrentCellOptions = GridListBoxSelectionCurrentCellOptions.None;
>
>Best regards,
>Stanley
AD
Administrator
Syncfusion Team
December 12, 2005 08:00 PM UTC
If you want to hide the current cell frame, then aslo set this property (instead of setting e.Inner.ColIndex = 0 in that event).
this.gridGroupingControl1.TableModel.Options.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.HideAlways;