jQuery / jqgrid / Editing form events
I'm working with the jqGrid and I want to know if exists an event to read a double click in the Editing Form?
For example, I have a grid with ColumnA and ColumnB. I want read the event when the user perform a double click under ColumnB (In the Editing Form).
Thanks!
UPDATE:
I found the solution of my problem
Here is the code, to this example I use the alert "TEST!!!"...
In the colModel
{ name: 'Total_uploads',
index: 'Total_uploads',
width: '100',
editable: true,
edittype: 'text',
editoptions: { size: 10, maxlength: '20',
dataInit: function (el) {
$(el).click(function () {
alert("TEST!!!");
});
}
},
editrules: { required: true },
formoptions: { label: 'Total uploads: ', elmsuffix: ' &开发者_如何学JAVAamp;nbsp; <span style="color : #0C66BE; font-family: Calibri">(*)</span>' }
}
I found the solution of my problem ^^
Here is the code, to this example I use the alert "TEST!!!"...
In the colModel
{ name: 'Total_uploads',
index: 'Total_uploads',
width: '100',
editable: true,
edittype: 'text',
editoptions: { size: 10, maxlength: '20',
dataInit: function (el) {
$(el).click(function () {
alert("TEST!!!");
});
}
},
editrules: { required: true },
formoptions: { label: 'Total uploads: ', elmsuffix: ' <span style="color : #0C66BE; font-family: Calibri">(*)</span>' }
}
精彩评论