optiontransferselect option transfer between two list box

  1. Documentation
  2. Change Log

This extension is used to transfer options between two select filed.

Resources

Documentation

Requirements
  • Yii 1.0 or above
Installation
  • Extract the release file under protected/extensions
Usage

See the following code example:

$this->widget('application.extensions.optiontransferselect.Optiontransferselect',array(
     'leftTitle'=>'label1',
     'rightTitle'=>'label2',
     'name'=>'Model[ids][]',
     'list'=>$leftOption,
     'doubleList'=>$rightOption,
     'doubleName'=>'Model[ids2][]'));

$leftOption and $rightOption like the following: $leftOption =array(array('id1'=>'name1'),array('id2'=>'name2')); $rightOption =array(array('id3'=>'name3'),array('id4'=>'name4'),array('id4'=>'name4'),array('id5'=>'name5'));

If you think that can, please make a rating, has been encouraging to me

Change Log

March 31, 2009
  • Initial release.
  • List and doubleList property suport (value=>display) data.
  • Add Optiontransferselect.php doc comment.
6 0
6 followers
737 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Tags:
Developed by: sharehua
Created on: Mar 31, 2009
Last updated: 9 years ago

Downloads

show all