\TbPopoverColumn

## Class TbPopoverColumn

The TbPopoverColumn works with TbJsonGridView and allows you to create a column that will display a picker element The picker is a special plugin that renders a dropdown on click, which contents can be dynamically updated.

Summary

Methods
Properties
Constants
renderFilterCell()
init()
renderDataCellContent()
$filterInputOptions
$options
$grid
No constants found
renderHeaderCellContent()
renderFilterCellContent()
registerClientScript()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$filterInputOptions

$filterInputOptions : array

Type

array — HTML options for filter input

$options

$options : array

Type

array — the javascript options for the picker bootstrap plugin. The picker bootstrap plugin extends from the tooltip plugin. Note that picker has also a 'width' just in case we display AJAX'ed content.

$grid

$grid : \TbGridView|\TbExtendedGridView

the grid view object that owns this column.

Type

\TbGridView|\TbExtendedGridView

Methods

renderFilterCell()

renderFilterCell()

### .renderFilterCell()

Renders the filter cell.

init()

init()

renderDataCellContent()

renderDataCellContent(int $row, mixed $data)

Renders a data cell content, wrapping the value with the link that will activate the picker

Parameters

int $row
mixed $data

renderHeaderCellContent()

renderHeaderCellContent()

### .renderHeaderCellContent()

Renders the header cell content. This method will render a link that can trigger the sorting if the column is sortable.

renderFilterCellContent()

renderFilterCellContent()

### .renderFilterCellContent()

Renders the filter cell content. On top of Yii's default, here we can provide HTML options for actual filter input

registerClientScript()

registerClientScript()