Home › Forums › Guriddo jqGrid JS › Help › Add Modal Form
Ok I need help to make this working; I have a grid ‘grid_client’ with a subgrid (another jqGrid ‘grid_contact’).
Hello,
Maybe you should use the new afterComplete event. When the row is inserted in main grid, you may have to open the subgrid and lunch the modal. Not sure what you try to do.
Regards
Tony
hi tony,
Can u give me an example of what u said right now…like opening up a subgrid and launching a modal.
it'll help me a lot.
Thanks & Regards
Faizal
$(“#mygrid”).navGrid('#mypager',{edit:true, add:true,…},
{}, // edit parameters
{ afterComplete: function(data, postdata, formid) {
// you can get here the id of the needed subgrid, or simple
$(“#subgrid”).editGridRow(“new”,params);
}
} // add parameters
….
});
thanks a ton Tony….this gets me going.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS