Clear the selected row in GridGroupingControl

Please, Can you explain how clear the selected row in GridGroupingControl in electionMode.One ? THX Jonathan.

3 Replies

AD Administrator Syncfusion Team July 22, 2005 02:14 PM UTC

If you are using the RecordSelection functionality specific to the GridGroupingControl (ListBoxSelectionMode = One and AllowSelection set to None), then try
if(this.gridGroupingControl1.Table.SelectedRecords.Count > 0)
{
	this.gridGroupingControl1.Table.SelectedRecords[0].Record.SetSelected(false);
}


JU Jonathan Urban July 22, 2005 02:25 PM UTC

Sorry, I haven''t good explain my problem: Take a look on this image: ftp://sirius.uha.fr/transit/Syncfusion_pb.png THX


AD Administrator Syncfusion Team July 22, 2005 03:54 PM UTC

What version are you using? Have you set both: grid.tableOptions.ListBoxSelectionMode = SelectionMode.One; grid.TableOptions.AllowSelections = GridSelectionFlags.None;

Loader.
Up arrow icon