Enables the settings of individual command cells to be changed.
public event TreeListHtmlCommandCellEventHandler HtmlCommandCellPrepared
Public Event HtmlCommandCellPrepared As TreeListHtmlCommandCellEventHandler
The HtmlCommandCellPrepared event handler receives an argument of the TreeListHtmlCommandCellEventArgs type. The following properties provide information specific to this event.
|Cell||Gets the processed command cell.|
|Column||Gets a command column whose cell is currently being processed.|
|Level||Gets the nesting level of a node which contains the processed command cell.|
|NodeKey||Gets an object that uniquely identifies the node.|
The HtmlCommandCellPrepared event is raised for each cell within command columns when the corresponding table cell has been created. You can handle this event, for example, to change the style settings of individual command cells.
The processed cell is identified by the event parameter's TreeListHtmlCommandCellEventArgs.Cell property. The column and node where the processed cell resides can be obtained via the TreeListHtmlCommandCellEventArgs.Column and TreeListHtmlCommandCellEventArgs.NodeKey properties.
Any other suggestions? Tell us here.