CGridView: send ajax variable

Hi guys,

How can I send an ajax variable in CGridView?

I mean that I have a variable, that I would like to send to Controller when I click on the grid title to sort the table.

Is any way to solve that? i didn’t find any options in the documentation CGridView for it.