CheckBoxes in a Grid
I am trying to get checkboxes to work in a grid. I tried the following variations where obj is the single-cell select grid:
RESULT - When I double clicked on the cell it would first come up with an undefined object error and then it would not change on a click of the checkbox
RESULT - This would include both the checkbox and true/false value in the cell rather than just the checkbox. I was also hoping to be able to set this into read-only mode so that I could used the setEditorTemplate() for the edit mode.
In the above scenarios I also tried using AW.UI.CheckBox instead of AW.Templates.CheckBox.
var checkbox = new AW.Templates.CheckBox;
obj.setEditorTemplate(checkbox,2);
or
obj.setEditorTemplate(new AW.Templates.CheckBox,2);
RESULT - When I double clicked on the cell it would first come up with an undefined object error and then it would not change on a click of the checkbox
var checkbox = new AW.Templates.CheckBox;
obj.setCellTemplate(checkbox,2);
or
obj.setCellTemplate(new AW.Templates.CheckBox,2);
RESULT - This would include both the checkbox and true/false value in the cell rather than just the checkbox. I was also hoping to be able to set this into read-only mode so that I could used the setEditorTemplate() for the edit mode.
In the above scenarios I also tried using AW.UI.CheckBox instead of AW.Templates.CheckBox.
Rick Villela
October 31,