Great job on jqgrid. The more I learn the more I like! I've got my reads and edits working great. Trying to iron our the add controls.
In the parent grid I have a key column “ID_1”. It is a FK of the child grid.
I click on the + button and the child grid and all the fields are correctly displayed.
I am using the navGrid Add button.
I've been reading the forums for hours and haven't found an example. I found comments and instructions for accessing a selected row in the parent grid, but since I clicked on the + button, the parent row is NOT selected.
When the ADD form is created I want to insert the value of ID_1 from the parent row.
I don't know how to access the value from the parent grids row.
I don't know how to set this value in the ADD form.
beforeShowForm : function(form_id){
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top