jQuery / jqgrid / Editing form events
- by MiBol
I'm working with the jqGrid and I want to know if exists an event to read a double click in the Editing Form?
Has 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!
I found the solution of my problem ^^
Here is the code, to this example I use the alert "TEST!!!"...
[Thanks to Oleg to wake up my mind :P]
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>' }
}