:: Forum >>

Make Checkboxes in a grid unseletionable

Is there a way to make checkboxes unseletionable so that their checked value cant be changed?
Del
Friday, May 12, 2006
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)
Friday, May 12, 2006
Thank you very much.
Del
Monday, May 15, 2006

This topic is archived.


Back to support forum

Forum search