php - How to add function in element of JQgrid like Onchange event in select box -
i using jqgrid , in edit mode using function in element of jqgrid onchange event in select box
code this
{name:'tipo_norma',index:'tipo_norma', editable:true, width:'90',align:'center',edittype:'select',editoptions: {dataurl:'../ajax/selectnorma.php' }} i want add together myfunction() in onchange event of tipo_norma combobox.
use dataevent in editoptions
editoptions: { dataevents: [ { type: 'change', fn: function(e) {myfunction(); } }, ]} php jquery jqgrid
No comments:
Post a Comment