When the user clicks on βEditβ in jqGrid, the form that opens has several lists and text fields. Depending on the value in the List field, several text fields should be disabled or set to read only when the form is loaded.
I have a part working for the onChange event in the list to switch text fields to disabled / activated, but I'm trying my best to do this on form loading. I tried using aftershowform, which already has an event handler, so I created another event, like aftershowform2, and attached this event, and the event handler fires. But the problem is that the lists are dynamically loaded by calling Ajax (dataurl of editoptions) and aftershowform until these lists are populated with parameters. Is there another event that fires after lists are loaded? The entire application is framework-controlled and difficult to insert.
jqgrid
anamar
source share