Query select field on JqGrid edit form
- by abuzuhair
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.