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.
JavaScript | lst.dataSet = data; lst.refresh(); |
---|
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();