Disable popup menu

Hi,Is it possible to disable popup menu? In fact, that I'm looking for is either remove options from popup menu and add others with internationalized text (localization), or disable popup menu and construct a javascript menu from my own. From my point of view, the first option is the fastest but if you have a better way to do this I'll really appreciate your help.

Thanks in advance.

Hi,

There some properties of the GridWeb that you can use to disable/enable the context menu items.

GridWeb.EnableClientColumnOperations, GridWeb.EnableClientFreeze, GridWeb.EnableClientMergeOperations, GridWeb.EnableClientRowOperations, GridWeb.EnableStyleDialogbox

And you may create your own language file to change the default text of the control. In the /agw_client/ folder, you can find a sample file named "lang_en.js". Create a new file, and set the GridWeb.AGWLanguageFileUrl to link to this file.

Thank you for considering Aspose.

Ok, but not all menu items can disable/enable. Is it possible to disable/enable only the items that I want? Besides, I need to add some new menu items and control the event from the client. For example, I need a menu item that copy all data for the selected row (not just for the current cell, that is the default). What can I do for make this possible? Should I modify popupmenu javascript file? Please I need your help!

Thanks in advance.

Hi,

The control already supports select one row or multiple rows by clicking the row header bar(left side bar). Currently the control doesn't support adding context menu items. But you may create custom command buttons in the bottom bar.

Thank you for considering Aspose.

Thanks for your response.... but, what about selecting entire row in a Grid with freeze Cols? It doesn't work! Just select data from no freeze area! What can I do for resolve this? I need to copy data from the entire seletected row, not just a part of it.

Thanks in advance.

Hi,

The fixed cells can not be selected in row selecting currently.

We will improve that in future versions.