Property | Type | Description | |
---|---|---|---|
$buttonSize | the button size ('mini','small','normal','large') | ||
$deleteButtonType | the delete button type ('info','primary','warning','danger','success' defaults to 'danger') | ||
$updateButtonType | the update button type ('info','primary','warning','danger','success' defaults to 'warning'). | ||
$viewButtonType | the view button type ('info','primary','warning','danger','success' defaults to 'info'). |
Method | Description | |
---|---|---|
initDefaultButtons ( ) | ### .initDefaultButtons() | |
renderButton ( string $id, array $button, integer $row, mixed $data ) | ### .renderButton() | |
renderDataCellContent ( integer $row, mixed $data ) | ### .renderDataCellContent() |
protected initDefaultButtons ( ) |
protected renderButton ( string $id, array $button, integer $row, mixed $data ) | ||
$id | string | the ID of the button |
$button | array | the button configuration which may contain 'label', 'url', 'imageUrl' and 'options' elements. |
$row | integer | the row number (zero-based) |
$data | mixed | the data object associated with the row |
protected renderDataCellContent ( integer $row, mixed $data ) | ||
$row | integer | the row number (zero-based) |
$data | mixed | the data associated with the row |
public $deleteButtonType |
public $updateButtonType |