I’m using a CDropDownList in a form.
This DropDownList takes as value results from CHtml::listdata(xxx, ‘id’,‘name’)
I wonder if there is an option which could say that a row of the listdata results could be at the end of the dropDowlist ?
listdata return array(=>‘name1’,=>‘name2’, …) and the results appear like that in the dropdwonlist.
Meanwhile I would like that a particular value of this array appear at the end of the dropdownlist
For example when you give a dropdownlist of choices and you would like to specifiy at the end of your dropdownlist "other choices …"