jqGrid.js v5.3.2
Hi all, I have been trying to figure out a way for 10 hrs for below situation:
- the grid is set to inline edit.
- there are two dropdown/selects. ddl1 and ddl2
- the options list of ddl2 depends on the value of ddl1. This means each row may have different options.
- I have been able to dynamically populate/select/save ddl2 based on ddl2's initial Key value or the selected value of ddl1 during Editing by setting dataUrl of ddl2 and "change" of dataEvents on ddl1 (column).
- I want to display the Value(not the Key) of ddl2 initially. is there a way I can set a row's "formatter"'s "value" property dynamically in loadComplete? I forcefully set the html content of the "td"/cell during loadComplete but the content wont survive a round of Edit/Restore.
TIA