GridActionsWidget
extends CWidget
in package
Table of Contents
Properties
- $dropdownItems : array<string|int, mixed>
- $id : int
Methods
- init() : void
- Initializes the widget
- registerClientScript() : void
- Registers required script files
- renderActions() : void
- Renders the actions for a row in CLSGridView tables
- run() : void
- Executes the widget
Properties
$dropdownItems
public
array<string|int, mixed>
$dropdownItems
= []
Available actions for table row
$id
private
static int
$id
= 1
Since button dropdown is placed inside different HTML element than
- dropdown, this id
can be used by test code to connect the two.
Methods
init()
Initializes the widget
public
init() : void
registerClientScript()
Registers required script files
public
registerClientScript() : void
renderActions()
Renders the actions for a row in CLSGridView tables
public
renderActions() : void
Tags
run()
Executes the widget
public
run() : void