PROBLEM setId() in Grid
when setId have name.other cant change widthcolumn.
i need this id because i have
var myobj = new objet();
myobj.Grid = obj;
i need change property Grid with myobj.Grid.setColumnWidth([100,300,500,600]); for example, but AW.UI.Grid is buged when setId have .
<script>
var myCells = [
["MSFT","Microsoft Corporation", "314,571.156", "32,187.000"],
["ORCL", "Oracle Corporation", "62,615.266", "9,519.000"],
["SAP", "SAP AG (ADR)", "40,986.328", "8,296.420"]
];
var obj = new AW.UI.Grid;
obj.setCellText(myCells);
obj.setColumnCount(4);
obj.setRowCount(3);
obj.setId("objet.Grid");
obj.setColumnWidth([100,300,500,600]);
document.write(obj);
</script>
i need this id because i have
var myobj = new objet();
myobj.Grid = obj;
i need change property Grid with myobj.Grid.setColumnWidth([100,300,500,600]); for example, but AW.UI.Grid is buged when setId have .
<script>
var myCells = [
["MSFT","Microsoft Corporation", "314,571.156", "32,187.000"],
["ORCL", "Oracle Corporation", "62,615.266", "9,519.000"],
["SAP", "SAP AG (ADR)", "40,986.328", "8,296.420"]
];
var obj = new AW.UI.Grid;
obj.setCellText(myCells);
obj.setColumnCount(4);
obj.setRowCount(3);
obj.setId("objet.Grid");
obj.setColumnWidth([100,300,500,600]);
document.write(obj);
</script>
Gustavo
March 2,