How to add a buttion to Grid cell
I want to add a buttion to a grid cell, i do this:
var status_button = new AW.UI.Button;
status_button.setId("status_button");
status_button.setControlText("Active");
status_button.onClick = function(){
alert("OK");
}
grid.setCellTemplate(status_button, 4,0);
but it can not action the onClick method, how to add a buttion to grid cell?
var status_button = new AW.UI.Button;
status_button.setId("status_button");
status_button.setControlText("Active");
status_button.onClick = function(){
alert("OK");
}
grid.setCellTemplate(status_button, 4,0);
but it can not action the onClick method, how to add a buttion to grid cell?
February 1,