I am trying to put editable
value either true
or false
depend on the value of the cell in colModel
. Is there is any way to do that?
{name:'keywords',index:'keywords', width:150, editable:true,edittype:'select',
editrules:{required: true},
editoptions:{value:{'one':'one','two':'two','three':'three','four':'four'},size:5} },
In this I want to set editable:false
if the cellvalue
exist else editable:true
and editoptions:{value:{'one':'one','two':'two',...}
for a particular cell.