Свойство | Тип | Описание | |
---|---|---|---|
$extraRowColumns | array | the group column names | |
$extraRowCssClass | string | the class to be used to be set on the extrarow cell tag. | |
$extraRowExpression | string | ||
$extraRowHtmlOptions | the HTML options for the extrarow cell tag. | ||
$mergeCellCss | string | ||
$mergeColumns | array | the columns to merge on the grid | |
$mergeType | string | the merge type. Defaults to MERGE_SIMPLE |
Метод | Описание | |
---|---|---|
groupByColumns ( ) | find and store changing of group columns | |
init ( ) | Widget initialization | |
renderTableBody ( ) | Renders the table body. | |
renderTableRow ( integer $row ) | Renders a table body row. |
Метод | Описание | |
---|---|---|
getDataCellContent ( TbDataColumn $column, mixed $data, mixed $row ) : string | need to rewrite this function as it is protected in CDataColumn: it is strange as all methods inside are public | |
getRowValues ( string[] | TbDataColumn[] $columns, CActiveRecord $data, mixed $rowIndex ) : mixed | returns array of rendered column values (TD) | |
renderExtraRow ( mixed $beforeRow, mixed $change, array $columnsInExtra ) | renders extra row |
public renderTableRow ( integer $row ) | ||
$row | integer |
public array $extraRowColumns | ||
Результат | array |
public string $extraRowCssClass | ||
Результат | string |
public $extraRowHtmlOptions |
public array $mergeColumns | ||
Результат | array |
public string $mergeType | ||
Результат | string |