IExtensibleUniGrid AddAdditionalColumn Method Kentico 8.0 API Reference
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.0.0.0 (8.0.5239.26125)

Parameters

column
Type: CMS.UIControls.UniGridConfig Column
Column
externalDataBoundCallback (Optional)
Type: CMS.UIControls OnExternalDataBoundEventHandler
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