Is there anyway you can make the grid like excel where when u right click on a cell it pops up the context copy paste menu? The way it works now is that it just selects the cell then u have to right click a second time to bring up the copy paste menu?
I don''t know if this still applies in 2.0 unfortunately but in 1.6 I had to set a context menu for the grid and you have to create your own context menu but after that you will get the desired effect.
AdministratorApril 22, 2004 01:47 PM UTC
The Copy/Paste menu you are seeing on the second right-click is the standard context menu that you see when you right-click an active TextBox control. (If you right-click twice in a CheckBox cell or a ComboBox cell, then you will not see this same menu). In fact, you probably are using teh OriginalTextBox celltype if you see a contextmenu, since one does not display for the TextBox celltype as that is a RichTextBox control.
You can avoid the right-click from selecting the cell by setting
Me.grid.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left
If you do this, then your user may realize that he has to right-click on an active cell to see the context menu for the cell control.
If you want a context menu to work for the grid (and not some embedded cell control), you can use the technique described in this KB. http://www.syncfusion.com/Support/article.aspx?id=10054
If you want to aloways see a consistent context help menu whether you click over a active cell or not, then you can use the technique discussed in this forum thread. http://www.syncfusion.com/Support/forums/message.aspx?MessageID=5109