Forum



10:26

28/07/2010

I have a grid like this
jQuery("#champDetail").jqGrid({
data: {},
height: 300,
width: 800,
colNames: ['ID', 'Combination No', 'Qty', 'SMT Program', 'SMT Machine', 'Product Date', 'Tracking No'],
colModel: [{ name: 'ID', width: 50 },
{ name: 'CombinationNo', width: 120, sortable: false },
{ name: 'QTY', width: 80, sortable: false, editable: true, editrules: { custom: true, custom_func: QTYCheck} },
{ name: 'SMTProg', width: 120, sortable: false, editable: true },
{ name: 'SMTMach', width: 120, sortable: false, editable: true },
{ name: 'ProductDate', width: 120, sortable: false, editable: true },
{ name: 'TrackingNo', width: 100, sortable: false, editable: true }
],.................
onCellSelect: function(rowid, colid) {
debugger;
if (colid == 3) {
var cm = jQuery("#champDetail").getRowData(rowid)
var temp = cm["QTY"]
$("#temp").keydown(function() {
alert("")
});
}
},...................................
when select a cell,i want to bind a keydown event to the cell ,
but i can't trigger the event.
what is the problem here?
Most Users Ever Online: 715
Currently Online:
47 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66