Basic load from in-memory XML Doc
We have intranet AJAX apps where we are already retrieving and manipulating data with XML Documents. What are the very basics of taking an in-memory XML document and displaying it in the ActiveWidgets grid using the syntax of the newest version.
We would certainly explore all of the other features if we choose to purchase the licensed version, but primarily I am interested in the frozen header while scrolling feature. Other solutions we have tried have all been "lacking" to say the least.
or other XML examples in the /examples/old/ directory.
If your XML doc is already in memory then instead of requesting the data -
you should 'simulate' the response call passing your XML document -
This should be done after assigning the table as grid datasource -
var obj = new AW.UI.Grid; var table = new AW.XML.Table; obj.setCellModel(table); obj.setColumnCount(...); table.setColumns([...]); // set columns XPath table.response(XML); // pass XML doc document.write(obj);
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.