Class humhub\libs\DropDownGridColumn

Inheritancehumhub\libs\DropDownGridColumn » yii\grid\DataColumn

DropDown Grid Column

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$ajaxOptions array Ajax options humhub\libs\DropDownGridColumn
$dropDownOptions array Dropdown options humhub\libs\DropDownGridColumn
$htmlOptions array Html options humhub\libs\DropDownGridColumn
$readonly humhub\libs\DropDownGridColumn
$submitAttributes array List of attributes which should be aditionally submitted (e.g. id) humhub\libs\DropDownGridColumn

Public Methods

Hide inherited methods

MethodDescriptionDefined By
init() humhub\libs\DropDownGridColumn

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
renderDataCellContent() humhub\libs\DropDownGridColumn

Property Details

$ajaxOptions public property

Ajax options

public array $ajaxOptions = []
$dropDownOptions public property

Dropdown options

public array $dropDownOptions = []
$htmlOptions public property

Html options

public array $htmlOptions = []
$readonly public property
public $readonly false
$submitAttributes public property

List of attributes which should be aditionally submitted (e.g. id)

public array $submitAttributes = ['id']

Method Details

init() public method

public void init ( )
renderDataCellContent() protected method

protected void renderDataCellContent ( $model, $key, $index )
$model
$key
$index