How To Get Sort 's Variable Afterajaxupdate ?

in CGridView widget, how to get sort’s variable afterAjaxUpdate ???

I don’t understand your question if you could explain little more I might be able to help you

i mean when i using sort feature in CGridview, i want to get current sort state.

example: if i sort by ID or user_name. i want to get it afterAjaxUpdate (ID or user_name)

this is but tricky but it would do the job here

<?php $this->widget('zii.widgets.grid.CGridView', array(










	'beforeAjaxUpdate'=>'js:function(id, data){console.log(data.url.split(/\&/)[1].split(/=/)[1]);}'

)); ?>