jaimi
|
|
« on: January 29, 2015, 05:15:51 AM » |
|
Hi, at specific circumstances I want to deactivate the editor of the field. How to? THX,Jaimi
My datagrid:
$('#edgNews').edatagrid({ title : 'Neuigkeiten', iconCls:'icon-Pferd', width:'100%', height:'auto', collapsible : 'true',
columns:[[ {field:'OLT30A001T_KEY',title:'PferdKey',width:080,sortable:'true',hidden:'true'} ,{field:'OLT30A003T_KEY',title:'NewsKey',width:080,sortable:'true',hidden:'true'} ,{field :'NWS_STATUS' ,title :'Status' ,width :060 ,sortable:'true' , align: 'center' ,editor : { type :'combobox' ,options:{ valueField:'KEY' ,textField:'NWS_STATUS' ,url:'pferd.lkp.nws.json' ,required:true ,editable:true ,prompt:'Status...' ,missingMessage: 'Wählen Sie den Status aus.' } }//editor ,formatter:function(value,row){return value;}//formatter } ,{field :'NWS_VIDEO',title:'Video',width:75,sortable:'true',hidden:'true' ,editor: {type:'textbox', options:{required:false}} } ....
|