Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Currently, Aspose.Cells.GridDesktop support adding three types of cell controls, which include the following:
All of these controls are derived from an abstract class, CellControl.
IMPORTANT: If you want to add cell controls to a single cell instead of the whole column then you can refer to Adding Cell Controls in Worksheets.
To add buttons into a column using Aspose.Cells.GridDesktop, please follow the steps below:
NOTE: While adding Button, we can specify the width, height and caption of the button.
Above code snippet adds buttons to all cells of the specified column. Whenever any cell of that specific column is selected, a button becomes visible. For more information about the event handling of buttons, please refer to the Event Handling of a Button Control.
To add checkboxes into a column using Aspose.Cells.GridDesktop, please follow the steps below:
NOTE: While adding CheckBox, we can also specify the state of the checkbox.
Above code snippet adds checkboxes to all cells of the specified column. For more information about the event handling of checkboxes, please refer to the Event Handling of a CheckBox Control.
To add comboboxes into a column using Aspose.Cells.GridDesktop, please follow the steps below:
Above code snippet adds comboboxes to all cells of the specified column. Whenever any cell of that specific column is selected, a combobox becomes visible. For more information about the event handling of comboboxes, please refer to the Event Handling of a ComboBox Control.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.