More information about this topic
Reset database
 | 
Simple Sortable
Try to drag them :
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5

protected/modules/UiModule/views/jui/zii_sortable.php


echo "Try to drag them : ";
$this->widget('zii.widgets.jui.CJuiSortable', array(
        //list of items
        'items'=>array(
                'id1'=>'Item 1',
                'id2'=>'Item 2',
                'id3'=>'Item 3',
                'id4'=>'Item 4',
                'id5'=>'Item 5',
        ),
        // additional javascript options for the accordion plugin
        'options'=>array(
                'opacity'=>0.6, //set the dragged object's opacity to 0.6
        ),
));
References
Fork me on GitHub