I am testing a grid with 2 templates. I set the template's id by obj.setId("id"). But when I try to use that id by getCellTemplate().getId(), I couldn't get the id what I set. Following is my code:
var grid=new AW.UI.Grid;
grid.setHeaderText(["check","combo"]);
grid.setColumnCount(2);
grid.setRowCount(2);
var chk = new AW.Templates.CheckBox;
chk.setId("Check");
grid.setCellTemplate(chk, 0,0);