Yii Cgridview Move Selected Row Using Keyboard's Arrow Up And Down

I was wondering how to move the selected row in yii’s CGridView using arrow buttons up and down. My situation is that I have a CGridView with pagination = false (no pagination). I want the first row is automatically selected when the page is loaded. Then, when user move the down arrow, it will select the second row. The point is just moving the selection row not moving the row up and down.

The main idea is similar to excel. It will help the user when verifying the row.

Thank you in advance.

Daniel

Hi,

I think u have to override cgridview table for moving rows up and down. you can search some extension… which will do already this kind of function.

or use jquery to do this