Change History
Change History (XML)

You can set the editability of the column using JavaScript by setting the value of the itemEditBeginningJsFunction attribute to a JavaScript function name. This example demonstrates how to disable the editing mode for the Selected column and the From column (columnIndex <= 1), and also disable the editing mode for the rows, the CC column's value of which is Jim (item.CC == "Jim").

<DataGrid ... itemEditBeginningJsFunction="itemEditBeginningFunction" ... >

function itemEditBeginningFunction(rowIndex, columnIndex, item, dataField) {
  if (columnIndex <= 1)
    return false;
  if (item.CC == "Jim")
    return false;
  return true;

© 2017 KoolChart. All rights reserved.