Difference between #2 and #3 of
Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

Revision #3 has been created by Xgamer99 on Nov 9, 2012, 8:00:12 PM with the memo:

changes
« previous (#2) next (#4) »

Changes

Title unchanged

Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

Category unchanged

Tips

Yii version unchanged

Tags unchanged

Content changed

[...]
'dataProvider'=>$dataProvider,
'selectableRows'=>2,
'rowCssClassExpression' => '(expresion) ? null : "disabled"',
'columns'=>array(
array(
'checked' => '('.$char[0]->activeAPIMask.' & '.$availableMask.' & $data->mask)',
 
'value'=>'$data->mask',
 
'class'=>'ext.ECheckBoxColumn',
'disabled'=>'(true/false exression (same as rowCssClassExpression)',
),
),
));
```
[...]
1 0
7 followers
Viewed: 21 857 times
Version: 1.1
Category: Tips
Written by: Xgamer99
Last updated by: Maurizio Domba Cerin
Created on: Nov 9, 2012
Last updated: 12 years ago
Update Article

Revisions

View all history