user1361914
user1361914

Reputation: 411

customizing jqgrid modal edit form

I found this demo of jqgrid that I am interested in using demo

I have been reading the jqgrid wiki to determine if I can control the # of elements in the add form.

The parent grid shows 8 columns. In the modal form I only want to show 4 data entry elements as opposed to the 8 that are displayed in the demo.

Does jqgrid not allow this - meaning does it always display same # of data entry elements as there are # of columns displayed in the parent grid?

Upvotes: 0

Views: 3921

Answers (1)

Oleg
Oleg

Reputation: 221997

If I correctly understand your question you should add editable: true only to the column which will be ediatble. Only the editable columns will be displayed in the Add/Edit form. If you need use multicolumn layout of edit form then you should use rowpos and colpos properties of formoptions like it is shown in the demo from the answer.

Upvotes: 1

Related Questions