Disabling the JQGrid dropdown in the edit dialog

Does anyone know how to know through javascript or jQuery how to disable the select (dropdown) element in the jqGrid edit dialog?

+1
source share
1 answer

Use dataInit event and execute $ (element) .attr ("disable", "disable"). To make this happen every time a form is displayed, either set the option to recreate the form each time it is displayed (by default it is created once), or try to set it to be disabled in the afterShowForm event .

+1

Source: https://habr.com/ru/post/1735157/


All Articles