Pravish Jayasundar
Pravish Jayasundar

Reputation: 31

Disable form edit in jqgrid based on condition

I am using form edit in JQGRID. The JQGRID has a field called "Type" and other fields. When the user clicks edit button and if the selected value of type is "X" it should not allow to Edit. A Message should be displayed "Record cannot be edited".

I have seen examples to disable certain fields from editing in inline-editing

I tried this as well

Edit rows based on condition in JQGRID

can please help me. Thanks for your time

Upvotes: 0

Views: 1563

Answers (1)

Pravish Jayasundar
Pravish Jayasundar

Reputation: 31

Thanks I found this and it solved the problem Thanks janina for your help and time

And special thanks to @oleg who had provided this solution

jqgrid: how to set toolbar options based on column value in row selected

Upvotes: 1

Related Questions