I state that know well the jquery/ajax fashion out from Yii-framework…
I show my need:
how can i do to start a redirect with ajax by clicking on a <tr> of a cGridView table?…so, is possible to customize the jQuery "selector" throught Yii framework?
…for example “$('tr_of_table’).doSomething();” how can i identify “tr_of_table”?
i try to read many posts and material…but…i’m confusing about this aspect.
It’s a quite standard Ajax template. You have also [font=“Courier New”]$.fn.yiiGridView.getSelection(‘some-grid’);[/font] that can return the row(s) that are selected when you have a CCheckboxColumn in your grid.
Now you say you want to redirect, so it looks like Ajax is not the ideal solution, is it? Maybe a modal dialog for the detailed view (you’ll find nice tutorials for that), or a simple link (like the ones in CButtonColumn).