How to change the CGridView's cell click event


I use a CGridView to represent something. When I click a cell, I want the cell to change to a "input", so i can write something in it. How can I implement it?


James H.

You could do that by using jQuery… but it’s not so easy to implement…

check some plugins for jQuery like jEditable and in-place-editor

I mean how to get the current clicking cell, from id,or…?

you can assign id to url ,then write js function to click event.