I have a many-columns grid. Only one column need to be editable. So far, I have to code it like:
$(“#jqxgrid”).jqxGrid({ editable: true });
$(“#jqxgrid”).jqxGrid(‘setcolumnproperty’, column1, ‘editable’, true);
$(“#jqxgrid”).jqxGrid(‘setcolumnproperty’, column2, ‘editable’, false);
//…repeate above line for each other columns
$(“#jqxgrid”).jqxGrid(‘setcolumnproperty’, column20, ‘editable’, false);
Is that a correct way? Is it possible to use ‘setcolumnproperty’ overwriting the whole grid editable? Like:
$(“#jqxgrid”).jqxGrid({ editable: false }); //it is default setting so should be omitted.
$(“#jqxgrid”).jqxGrid(‘setcolumnproperty’, column1, ‘editable’, true);
Thanks,