Next
Update
Prev
Select/Clear All
View Selected Rows

You can enable or disable the checkbox by using the secondLabelJsFunction attribute in the <DataGridSelectorColumn> element.

In this example, the JavaScript function, secondLabelFunc() is set to the value of secondLabelJsFunction attribute. secondLabelFunc() checks the CC column and if the value is "Jim", then the function enables the checkbox (return true), otherwise the checkbox is disabled (return false).

...
<DataGridSelectorColumn ... secondLabelJsFunction="secondLabelFunc" ... >
...

function secondLabelFunc(item, value, column) {
  if (item.CC == "Jim" )
    return true;
  else
    return false;
}

© 2017 KoolChart. All rights reserved.