:: Forum >> Version 2 >>

Active Widgets beta 3 xml data source

I am using an httppost to get xml.

sXML=jsHttpPost("db/SQLServer/frkStoreExecute.asp",sXML);

sXML is a string.

var table = new AW.XML.Table;
var str = new AW.Formats.String;
var num = new AW.Formats.Number;
table.setFormats([num, str, str]);
table.setXML(sXML);
var obj = new AW.Grid.Extended;
obj.setCellModel(table);

Active widgets grid don't work.
i can't understand how to set an xml string for datasource.

Some one can help me?

i've seen all example. but didn't work

thank you in advance.


matteox77
Wednesday, November 30, 2005
I didn't see you set your row and column counts.

obj.setColumnCount(XX);
obj.setRowCount(XX);

XX - being some number

Hope that helps.
Dina Misener
Wednesday, November 30, 2005



This topic is archived.

Back to support forum

Forum search