Does anyone know how through either javascript or jQuery know how to disable a select (dropdown) control within a jqGrid edit dialog form?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
Use dataInit event and do $(element).attr("disable", "disable") there. To make this happen everytime the form is shown, either set option to re-create form each time it is shown (by default it is created once), or try to set disabled in the afterShowForm event.