Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To create a custom command button in Aspose.Cells.GridWeb:
CustomCommandButton class.CustomCommandButton object to the CustomCommandButtons collection of the GridWeb control.The output of the code snippet is shown below:
A custom command button added to GridWeb control

The most important aspect of custom command buttons is the action they perform when clicked. To set the action, create an event handler for the GridWeb control’s CustomCommand event.
The CustomCommand event is always triggered when a custom command button is clicked. Therefore, the event handler must identify the specific custom command button to which it applies, using the Command set when adding the button to the GridWeb control. Finally, add the custom code that is executed when the button is clicked.
In the code example below, a text message is added to cell A1 when the button is clicked.
Text added to A1 cell when custom command button is clicked

Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.