I have introduced a small change, again
because it was not good with the previous
declare a global variable in the client widget
and set it in the widget
<script type="text/javascript">
var selectionGlobal='';
function show(){
alert ("selection="+
seleccionGlobal+","+ //stored selection in params
$.fn.yiiGridView.getSelection('xxxxx-grid')); //not yet stored in params
}
</script>
...
$this->widget('application.extensions.SelGridView', array(
...
the change in SelGridView at the end of protected function applyBeforeAjaxUpdate()
..
function applyBeforeAjaxUpdate()
...
seleccionGlobal=params[selVar]
...
I need help to make this more elegant
for example, $.fn.yiiGridView.getWholeSelection() method
thanks