Hi,
I using the latest JQGrid (3.5.3) and I need to disable a select list (dropdown) in my edit form during edit operations. Reason being is that the field to be disabled is part of the primary key and should not be changed during edit. The same field should be 'selectable' during add operations. The code below make my select list disabled however the form will not display on the first click of the edit icon on the nav bar. Strangely – it does come up on the next click of the edit icon and the dropdown is disabled as it should be. Is this a bug? Or is there a better way to achieve what I want. Thanks.
beforeShowForm: function(eparams) {
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top