Grid Selection Row Strange Behaviour

Dec 16, 2009 at 11:19 AM
Edited Dec 16, 2009 at 11:22 AM

I use in this example the sourceGrid.Grid ,

define

 

    grid1.SelectionMode = SourceGrid.GridSelectionMode.Row;

    grid1.Selection.EnableMultiSelection = false;

 

with the standard use ( mouseclick selection  ) , all work fine but when i try to program the selection   with the function  selectrow() :

  grid1.Selection.SelectRow(_RowIndex, true);

the grid don't remove the old selected  row  and the new one is also selected  : no more  one row selected

Screen  : http://img684.imageshack.us/i/53682538.jpg/

Example To reproduce frmSample17 modified : http://rapidshare.com/files/321602993/frmSample17.zip.html

 

 

Coordinator
Dec 17, 2009 at 4:51 AM

Nice :)

Is this from latest code in bitbucket?

 

If yes, please create an issue and attach both files to issue

Dec 17, 2009 at 6:24 AM

Yes , i am using the last one , icreated an issue item from here http://sourcegrid.codeplex.com/WorkItem/View.aspx?WorkItemId=4915

Thanks for follow .