How deselect row in grid of devexpress - winforms
I have one grid with property MiltiSelected in false, and I need clear the
selection in the current grid when the user clicked one button, I saw de
documentation about two method but is not working when the user only can
select one row. here my attempts for solve this.
gridView1.ClearSelection();
foreach (var i in gridView1.GetSelectedRows())
gridView1.UnselectRow(i);
I hope someone help me , thanks in advance
No comments:
Post a Comment