:: Forum >>

XML from an httprequest

this don't work

------------------------------------------------------------------------------------------------------------------------------------------------------------
sXML="<db><rs><st>frk_Read</st><tb>Aree</tb><ky>Aree_Ky</ky><rw>25</rw><pg>1</pg><ord>Aree_Ky</ord></rs></db>";
sReq=jsHttpPost("db/SQLServer/frkStoreExecute.asp",sXML);
//alert(sReq);

var table = new AW.XML.Table;
table.setXML(sReq);

//var obj = new AW.UI.Grid;
var obj = new AW.Grid.Extended;
obj.setHeaderText(myHeaders); // js array (see top of this page)
obj.setId("myGrid");
obj.setColumnCount(3);
obj.setCellModel(table);
obj.setDataModel(table);
obj.setSelectorVisible(true);
obj.setSelectorResizable(true);
obj.setSelectorWidth(25);
obj.setSelectorText(function(i){return this.getRowPosition(i)+1});
document.write(obj);
--------------------------------------------------------------------------------------------------------
matteox77
Thursday, November 10, 2005

This topic is archived.


Back to support forum

Forum search