I use winforms to develop my application. And I set my datagridview control selection method to "CellSelect", and this allows the user to select as many cells as he wants, which apply to multiple columns; but I want to limit that my user can select cells in only one column at a time, and for me there is no such type selectionmode.
So, if I want to implement this, how to extend the datagridview class? I also think that I can check the event handler whenever the selection cells change, so that I can force the user not to select the cells spread over several columns, but I think that it is not.
Can other people help me find the best solution?
source share