Structure of my grid columns.
Now problem is that I want CompanyName only editable and sown in Edit ModelPopup
and
for adding ModelPopup I want all the below to be shown in popup.
How do I do that?
colModel: [
{ name: 'companyID', index: 'companyID', width: 60, editable: false,
editoptions: { readonly: true } },
{ name: 'companyName', index: 'companyName', width: 190, editable: true,
editrules: { required: true} },
{ name: 'companyCity', index: 'companyCity', width: 190, editable: true,
editrules: { required: true} },
{ name: 'companyState', index: 'companyState', width: 50, sortable: false,
align: 'center', editable: true, editrules: { required: true} },
{ name: 'action', index: 'action', width: 80, sortable: false, align: 'center',
editable: false, }
]
...
.navGrid('#pager10', { view:true, edit: true, add: true, del: true }