Click or drag to resize
IExtensibleUniGridAddAdditionalColumn Method
Adds column to the UniGrid's columns with optional callback which specifies what will be displayed in a column cells.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 8.2.23
Syntax
C#
void AddAdditionalColumn(
	Column column,
	OnExternalDataBoundEventHandler externalDataBoundCallback = null
)

Parameters

column
Type: CMS.UIControls.UniGridConfigColumn
Column
externalDataBoundCallback (Optional)
Type: CMS.UIControlsOnExternalDataBoundEventHandler
Optional external data bound callback. Function which returns content of the column's cells
Remarks
If externalDataBoundCallback is specified, property ExternalSourceName of the column parameter has to be specified as well. Callback externalDataBoundCallback will be called only for the cells in the added column. This method has to be called before the OnLoadColumns event is fired, what usually happens on the Page_Load.
See Also