alright...so the code is the almost the same as above...except that this is the change that i am making in the end
<!--
var grid = new AW.UI.Grid;
grid.setSize(350, 300);
grid.setPosition(20, 50);
grid.setCellText('grid.xml');
grid.setHeaderText(["Source System","Customer Name","Request Number","Offer-Oppty ID","Term", "Commitment","Create Date","eSign Receive Timestamp"]);
grid.setColumnCount(8);
grid.setRowCount(10);
grid.setCellEditable(true);
grid.getSeparatorTemplate().setEvent("ondblclick", function(event){
this.raiseEvent("onSeparatorDoubleClicked", event, this.$0);
});
grid.onSeparatorDoubleClicked = function(event, column){
alert(column);
};
-->
var table = new Active.XML.Table;
table.setURL("grid.xml");
table.request();
var columns = ["Source System","Customer Name","Request Number","Offer-Oppty ID","Term", "Commitment","Create Date","eSign Receive Timestamp"];
var obj = new Active.Controls.Grid;
obj.setColumnProperty("texts", columns);
obj.setDataModel(table);
document.write(obj);
var page1 = [table];
var page2 = [grid];
var page3 = [grid];
the commented part is the one that is there above and the table which i am replacing the original grid with is below that.
so supposing there is some grid.xml is my root folder, i want that to display on my first tab (when that works, i have 2 more xml files which i need on the next 2 tabs)
moreover, it should behave like a normal grid, for instance sorting, adjusting length
plus, i really need to know properties that i can set, like double click events and cells shouldn't be able to be changed
(and the fancier it is, the better; however, that can be taken care of after functionality)
if there is anyway that u cud all these questoins, that wud be just great
i have been breaking my head over this for days...already tried so many different ways
thanks a lot for all the help paulo