Hi,
I'm using an UltraWinGrid (version 11.1.20111.1003).
When right clicking on a row selector, the previous selected line is kept, which is not what I expect (previous selected row should be unselected). How can I disable this behavior?
Hello tfresnea,
If you would like to have just a single row selected, than I suggest you to set the SelectTypeRow of the Override object to Single in the InitializeLayout event of the UltraGrid like:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.Single; }
Please let us know if you have any other questions with this matter.
Hi Danko,
I'd like to allow the user to select multiple rows when he presses Ctrl or Shift. But I don't want that right click on the row selector keeps the previous selection. Thus, unfortunately, your solution will not be satisfactory to me.