AW.UI.Input in Grid Question (Events)
I have a AW.UI.Input in my grid in one column and a AW.UI.Checkbox in another.(I cannot use editable cells due to requirements )
obj.setCellTemplate(new AW.Templates.Checkbox, 8);
obj.setCellValue(function(col, row){return data.getData(col,row)=="Yes" ? true : false}, 8);
var inp = new AW.UI.Input;
obj.setCellTemplate(inp, 10);
After a user enters using data in the input box, I need to find out if the user entered data or not, and if so, uncheck the checkbox in the current row.
I tried using :
obj.onCellValidating = function(text, col, row){
alert("onCellValidating - text: " + text + ", col: " + col + ", row: " + row);
}
But its not picking up the event.
Does anyone know how to fix this?
Thanks
sv
obj.setCellTemplate(new AW.Templates.Checkbox, 8);
obj.setCellValue(function(col, row){return data.getData(col,row)=="Yes" ? true : false}, 8);
var inp = new AW.UI.Input;
obj.setCellTemplate(inp, 10);
After a user enters using data in the input box, I need to find out if the user entered data or not, and if so, uncheck the checkbox in the current row.
I tried using :
obj.onCellValidating = function(text, col, row){
alert("onCellValidating - text: " + text + ", col: " + col + ", row: " + row);
}
But its not picking up the event.
Does anyone know how to fix this?
Thanks
sv
sv
August 2,