jqgrid binding keydown event to cell -


i have grid 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 cell,i want bind keydown event cell ,

but can't trigger event.

what problem here?

there dataevents editoptions can used definition of colmodel. allows make bindings keydown need.

the same option exist searchoptions. can see corresponding example in old answer.


Comments

Popular posts from this blog

400 Bad Request on Apache/PHP AddHandler wrapper -

Add email recipient to all new Trac tickets -

php - Change action and image src url's with jQuery -