TEditCommandColumn contains the Edit command buttons for editing data items in each row.
TEditCommandColumn will create an edit button if a cell is not in edit mode.
Otherwise an update button and a cancel button will be created within the cell.
The button captions are specified using {@link setEditText EditText},
{@link setUpdateText UpdateText}, and {@link setCancelText CancelText}.
The buttons in the column can be set to display as hyperlinks, push or image buttons
by setting the {@link setButtonType ButtonType} property.
When an edit button is clicked, the datagrid will generate an
{@link onEditCommand OnEditCommand} event. When an update/cancel button
is clicked, the datagrid will generate an
{@link onUpdateCommand OnUpdateCommand} or an {@link onCancelCommand OnCancelCommand}
You can write these event handlers to change the state of specific datagrid item.
The {@link setCausesValidation CausesValidation} and {@link setValidationGroup ValidationGroup}
properties affect the corresponding properties of the edit and update buttons.
The cancel button does not cause validation by default.
The command buttons in the column can be accessed by one of the following methods:
The second method is possible because the button control created within the
datagrid cell is the first child.
getCancelText()
публичный Метод
getEditText()
публичный Метод
getUpdateText()
публичный Метод
setCancelText()
публичный Метод
setEditText()
публичный Метод
setUpdateText()
публичный Метод