首页 > 代码库 > easyui datagrid editor 特定列disabled

easyui datagrid editor 特定列disabled

//编辑表格
  function editRow(rowIndex) {
      $(‘#tt‘).datagrid(‘cancelEdit‘, lastIndex);
      $(‘#tt‘).datagrid(‘beginEdit‘, rowIndex);
      lastIndex = rowIndex;
      $(‘#tt‘).datagrid(‘getEditor‘, { index: rowIndex, field: ‘VAL_NAME‘ }).disabled();
        
      return false;
  }

easyui datagrid editor 特定列disabled