When i try to get item that using multiple check box, the returned value always return ordered by Grid.
Its possible in CCheckBoxColumn to get id sorted by click?
Example :
Clicked item id : 3,1,2,9,6,10
Returned item using below function : 1,2,3,6,9,10
$this->widget('zii.widgets.jui.CJuiButton',
array(
'name'=>'button',
'caption'=>'Test Button',
'onclick'=>'js:function(){alert($.fn.yiiGridView.getSelection("data-id")); this.blur(); return false;}',
'buttonType'=>'button',
)
);
Expected return : 3,1,2,9,6,10
All setting in zii gridview was default, i didn’t add any php code or javascript code.
I ask this because in jqGrid multi select demo, the returned item was always ordered by click time. I thout in zii i could do same.
Thank You.