Basic load from in-memory XML Doc

I am just evaluating and could not find satisfactory answers to this when searching the forums.

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.

Rick Brandt
August 28,
You should have the code similar to


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;
table.setColumns([...]); // set columns XPath
table.response(XML); // pass XML doc
Alex (ActiveWidgets)
August 29,
What is the difference between using setXML and calling .response directly on the table object?
Karl Thoroddsen
September 2,
response() method calls setXML() and then clears grid scroll, selection, sort and row order and sets row count (see /source/lib/xml/table.js).
Alex (ActiveWidgets)
September 4,

This topic is archived.

See also:

Back to support forum