addData
Type
property
Summary
A method for adding data to the list.
Syntax
set the addData of widget to <List>
Description
Use the addData property to add new data to the PolyList widget. The value this property takes a List or numerated array. If you get the value of addData property it will always return empty. The format used to set this property is the same of dataContent.
Examples
-- Adds two new items to the content of the list
set the addData of widget "PolyList" to [{"title":"One"},{"title":"Two"}]
Related
property: addItemBefore, addItemAfter, dataContent