AD
Administrator
Syncfusion Team
May 18, 2003 11:29 AM UTC
grid.Selections.Clear(); will clear all selections.
If you want to remove a particular one, you can use grid.Selections.Remove, but you have to passed the GridRangeInfo exactly as it was selected. So, if it was selected as row 1, you would have to pass GridRangeInfo.Row(1).
RA
Ramu
May 18, 2003 12:55 PM UTC
Hi Clay,
Thx for your help. But actually the below code doesnt deselect it. I tried already with .selections.clear.
this.gdbg1.Model.Selections.Clear();
Ram
========================
> grid.Selections.Clear(); will clear all selections.
>
> If you want to remove a particular one, you can use grid.Selections.Remove, but you have to passed the GridRangeInfo exactly as it was selected. So, if it was selected as row 1, you would have to pass GridRangeInfo.Row(1).
>
>
>
AD
Administrator
Syncfusion Team
May 18, 2003 03:08 PM UTC
This code seems to work for me in the attached sample? Does it work for you? If not, what version of the grid DLL are you using?