PDA

View Full Version : Adding Id's to Row's in Grid



Vikram1507
16 Mar 2009, 11:21 PM
Hi Guys,

I need to add a custom Id to every row in my grid. Any idea on how do i get this done. Basically when i look up the Grid HTML through Firebug, i should be able to see every row (i.e. row div with class="x-grid3-row x-grid3-row" or "x-grid3-row x-grid3-row-alt") to have the custom id that i provided.

Where can i insert the code to add id to every row in the Grid?

Thanks,
Vikram

17 Mar 2009, 6:20 AM
Look at the source/widgets/grid/GridView.js file and you'll be able to get your answer there