:: Forum >>

setting primary key value to a row

Hello all,
How can i set a primary key value to row? Like if i select a row, the value of that row would correspond to a primary key value in my database.
Thank you
Wednesday, August 11, 2004
Well, first of all, you need to bring that ID into JS Data Array. After that easy trick to hide that column, 3 diff techniques as followings

// if data[6] for your ID column
// this will only show data[0] to data[5]
obj.setColumnProperty("count", 5);

// if data[0] is your ID column
// hide column-0
obj.setColumnProperty("count", 6);

/* make the column of zero width */
.active-column-0 {width: 0px;}

Sudhaker Raj
Wednesday, August 11, 2004

This topic is archived.

Back to support forum

Forum search