From Porcupine wiki

Developers: dataSet Property

Sets the widget's data set. The data set consists of an array of hashtables. In order for the data to be displayed, you need to refresh the widget by calling its "refresh" method.

Syntax

JavaScriptlst.dataSet = data;
lst.refresh();

Example


lst.dataSet = [
		{isSystem:true, displayName:'aaaaa', size:31230, modified:new Date(), role:2},
		{isSystem:false, displayName:'bbbb', size:1230, modified:new Date('03/31/2005 18:00:31'), role:8}
	];
lst.refresh();

Retrieved from http://wiki.innoscript.org/pmwiki.php/Developers/QuiXListViewdataSet
Page last modified on October 15, 2007, at 11:05 AM