| @@ 28-36 (lines=9) @@ | ||
| 25 | /** |
|
| 26 | * Configure the "Button Group" Grid Renderer. |
|
| 27 | */ |
|
| 28 | public function __construct() |
|
| 29 | { |
|
| 30 | $configuration = array( |
|
| 31 | 'sortable' => FALSE, |
|
| 32 | 'canBeHidden' => FALSE, |
|
| 33 | 'width' => '100px', |
|
| 34 | ); |
|
| 35 | parent::__construct($configuration); |
|
| 36 | } |
|
| 37 | ||
| 38 | /** |
|
| 39 | * Render the "Button Group" in the Grid, e.g. edit, delete, etc.. |
|
| @@ 27-36 (lines=10) @@ | ||
| 24 | /** |
|
| 25 | * Configure the "Check Box" Grid Renderer. |
|
| 26 | */ |
|
| 27 | public function __construct() |
|
| 28 | { |
|
| 29 | $configuration = array( |
|
| 30 | 'width' => '5px', |
|
| 31 | 'sortable' => FALSE, |
|
| 32 | 'canBeHidden' => FALSE, |
|
| 33 | 'html' => '<input type="checkbox" class="checkbox-row-top"/>', |
|
| 34 | ); |
|
| 35 | parent::__construct($configuration); |
|
| 36 | } |
|
| 37 | ||
| 38 | /** |
|
| 39 | * Render a column in the Grid. |
|
| @@ 26-35 (lines=10) @@ | ||
| 23 | /** |
|
| 24 | * Configure the "Check Box" Grid Renderer. |
|
| 25 | */ |
|
| 26 | public function __construct() |
|
| 27 | { |
|
| 28 | $configuration = array( |
|
| 29 | 'width' => '5px', |
|
| 30 | 'sortable' => FALSE, |
|
| 31 | 'canBeHidden' => FALSE, |
|
| 32 | 'html' => '<input type="checkbox" class="checkbox-row-top"/>', |
|
| 33 | ); |
|
| 34 | parent::__construct($configuration); |
|
| 35 | } |
|
| 36 | ||
| 37 | /** |
|
| 38 | * Render the "Check Box" in the Grid. |
|