3.2.0

Make Checkboxes in a grid unseletionable

Is there a way to make checkboxes unseletionable so that their checked value cant be changed?
Del
May 12,
You can prevent changing the cell value using onCellValueChanging event -

obj.setCellTemplate(new AW.Templates.Checkbox, 1);
    obj.setCellValue(true, 1);

    obj.onCellValueChanging = function(value, col, row){
        if (col==1) {
            return 1; // cancel change
        }
    }
Alex (ActiveWidgets)
May 12,
Thank you very much.
Del
May 15,

This topic is archived.

See also:


Back to support forum