Yii, Generate unquie ids one each tr element of CGridView
- by Snow_Mac
I have a CDbActiveRecord setup and I have a instance of the CGridView class setup as a widget.
Basically my end game is I need a table, but each row to contain the primary key of the row associated with the Active Record.
Such as:
<tr id="123"> <td> Column value 1 </td> <td> Col 2 </td> <td> Col 3…