in a grid, when i click, then it is selected. Ok. But while an item is selected,when user press a button on my form, i want to make the grid unselected. I mean none of the items are selected.
how can i do it?
by the way, if i reload the grid, none of the items are selected no more but i do not want ot reload.
To programmatically select or unselect rows you have to use selection model of the grid. Try the following:
See docs for more info: