Property | Type | Description | |
---|---|---|---|
$falseIcon | icon/indicator for the false value. If this is null, it will use the value from falseLabel. If GridView bootstrap property is set to true - it will default to [[GridView::ICON_INACTIVE]] | ||
$falseLabel | label for the false value. Defaults to Inactive. | ||
$falseValue | null | ||
$format | in which format should the value of each data model be displayed Defaults to raw. [[\yii\base\Formatter::format()]] or [[\yii\i18n\Formatter::format()]] is used. | ||
$hAlign | the horizontal alignment of each column. Should be one of 'left', 'right', or 'center'. Defaults to center. | ||
$pageSummary | the page summary that is displayed above the footer. Defaults to false. | ||
$showNullAsFalse | whether to show null value as a false icon. | ||
$trueIcon | icon/indicator for the true value. If this is not set, it will use the value from trueLabel. If GridView bootstrap property is set to true - it will default to [[GridView::ICON_ACTIVE]] | ||
$trueLabel | label for the true value. Defaults to Active. | ||
$trueValue | |||
$width | the width of each column (matches the CSS width property). Defaults to 90px. |
Method | Description | |
---|---|---|
getDataCellValue ( $model, $key, $index ) | ||
init ( ) |
public $falseIcon |
public $format |
public $hAlign |
public $pageSummary |
public $showNullAsFalse |
public $trueIcon |