Please reference the following help request for additional information:
Can the undocumented addfunc(), editfunc(), delfunc() functions in jqgrid.formedit.js be modified so that this references the actual jqGrid object. Inside the user-defined function, this currently references the NavGrid option without the ability to programmatically reference the parent/containing jqGrid item. In a custom addfunc(), you could potentially need access to the jqGrid item to call the appropriate refresh or data synchronization commands. For my implementation, the jqGrid #id is dynamically generated at the server side so I don't have easy access to reference the grid traditionally (i.e. $(#id).jqGrid({});)
The existing code snippet (just addfunc() listed for brevity):
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top