PHP Class TbEditableColumn

Inheritance: extends TbDataColumn
Exibir arquivo Open project: yinhe/yincart Class Usage Examples

Public Properties

Property Type Description
$editable editable config options.

Public Methods

Method Description
init ( ) ### .init()

Protected Methods

Method Description
attachAjaxUpdateEvent ( ) ### .attachAjaxUpdateEvent()
renderDataCellContent ( $row, $data ) ### .renderDataCellContent()

Method Details

attachAjaxUpdateEvent() protected method

Yii yet does not support custom js events in widgets. So we need to invoke it manually to ensure update of editables on grid ajax update. issue in Yii github: https://github.com/yiisoft/yii/issues/1313
protected attachAjaxUpdateEvent ( )

init() public method

Widget initialization
public init ( )

renderDataCellContent() protected method

### .renderDataCellContent()
protected renderDataCellContent ( $row, $data )

Property Details

$editable public_oe property

editable config options.
See also: EditableField config
public $editable