3.2.0

enable/disable all checkboxes from one checkbox in column header

There is given one data grid with a column of checkboxes. It should be possible to enable/disable all these checkboxes from one checkbox in the column header.
Any ideas?

Thanks a lot!
Andy
March 7,
function togglecheckBoxes(col, checked) {
  for(i=0;i < myData.length;i++) {
    awGrid.setCellValue(checked, col,i)
  }
}


So if your checkboxes are in the first column and you want to check all the boxes, you would use it like this:

toggleCheckBoxes(0, true)


Geno
March 7,

This topic is archived.

See also:


Back to support forum