Query select field on JqGrid edit form

Posted by abuzuhair on Stack Overflow See other posts from Stack Overflow or by abuzuhair
Published on 2012-03-29T02:21:53Z Indexed on 2012/03/29 5:29 UTC
Read the original article Hit count: 225

Filed under:
|
|

I have this colom Model on JqGrid:

{name:'ta',index:'ta',jsonmap:'ta',width:70,editable:true,edittype:'select',
editoptions: {dataUrl:hostname+'/sisfa/ta_cb'}}

I am using JqGrid form editing to edit this field. How to 'catch' the field editor for this field on form editing. I'm using this method, but not work

.editGridRow("new", 
        {closeAfterAdd: true, addCaption:'Add Data',
        width:500,dataheight:300,beforeShowForm:function(formid){
            console.log($('#tr_ta').find('select[name=ta]'));
        }});        

This method work for other edittype.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-plugins