2amigos / yii2-grid-view-library

Highly enhanced GridView widget and grid components for Yii2
https://2amigos.us
Other
57 stars 16 forks source link

add where condition in toggled action column #20

Closed vishuB closed 8 years ago

vishuB commented 8 years ago

How to add where condition in this action

public function actions() { return [ 'toggle' => [ 'class' => ToggleAction::className(), 'modelClass' => AcademicYear::className(), 'toggleType' => ToggleAction::TOGGLE_COND, ], ]; }

Thanks in Advance,