I'm trying to add a menutoolbar that pops up on right click. On right click though, all selected cells disappear... Is there a way to prevent this from happening?
If not is there a way to set specific cells in the grid to be selected again? I can keep track of all the positions of the activated cells, i don't know how to set them back to be activated though.
Essesntially I want to copy, paste, delete, undo the selected cells not row
you are right Mike, but I am using
InfragisticsHelper.UltraGridShowPopupOnMouseUp(ultragrid, e,
(Infragistics.Win.UltraWinToolbars.
PopupMenuTool)this.ultraToolbarsManager.Tools["PopupMenuTool"], "Copy", "Paste", "Delete");
I wanted to show a toolbar menu that would be able to handle selection from user. Is there any other way around that? If not, I'm assuming I would still need to know how to reselect the cells again.
Right-clicking on a grid cell does not de-select the selected cells. I just tested this out to be sure and it works fine for me.
So if your cells are getting de-selected, something in your code must be doing that.