Cgridview - Filter By Table Cell Contents On Click?

Hello folks,

On a CGridView widget I recently built I have been thinking about having functionality that will allow the user to click on a table cell (table>tablebody>tr>td) and have the CGridView filter run on this value. Can someone tell me if this functionality exists or if I will have to do it myself?

I actually played about a bit with trying to do this but I was unable to even get my custom .js to alert() the td contents. I think the code itself was fine but there maybe something else in the CGridView widget that is interfering with the onClick event?

Any/all input greatly appreciated…