1. Solly Corn
  2. JToggleColumn

Commits

Insolita Donna  committed db85ed8

readme update

  • Participants
  • Parent commits 59a1e54
  • Branches master

Comments (0)

Files changed (1)

File README.md

View file
  • Ignore whitespace
                                             'name'=>'is_default', // boolean model attribute (tinyint(1) with values 0 or 1)
                                             'filter' => array('0' => 'No', '1' => 'Yes'), // filter
                                             'action'=>'switch', // other action, default is 'toggle' action
-                                            'checkedButtonLabel'=>'/images/toggle/yes.png',  // checked image
-                                            'uncheckedButtonLabel'=>'/images/toggle/no.png', // unchecked image
-                                            'checkedButtonTitle'=>'No', // tooltip
-                                            'uncheckedButtonTitle'=>'Yes', // tooltip
-                                            'labeltype'=>'image',
+                                            'checkedButtonLabel'=>'/images/toggle/yes.png',  // Image,text-label or Html
+                                            'uncheckedButtonLabel'=>'/images/toggle/no.png', // Image,text-label or Html
+                                            'checkedButtonTitle'=>'Yes.Click to No', // tooltip
+                                            'uncheckedButtonTitle'=>'No. Click to Yes', // tooltip
+                                            'labeltype'=>'image',// New Option - may be 'image','html' or 'text'
                                             'htmlOptions'=>array('style'=>'text-align:center;min-width:60px;')
                     ),
                     array(