dataContent

Typeproperty
Dictionarywidget.polylist
LibraryPolyList
Syntax
set the dataContent of widget to <DataArray>
get the dataContent of widget
Associationscom.livecode.widget.polylist
Summary

Get or set the data array that the PolyList will display.

Example
local tDataContent

set the dataContent of widget"PolyList" to ""
repeat with x = 1 to 50
   put "user" into tDataContent[x]["icon"]
   put "The title" into tDataContent[x]["title"]
   put uuid() into tDataContent[x]["description"]
   put "user" into tDataContent[x]["action"]
end repeat
set the dataContent of widget"PolyList" to tDataContent
Description

Use the dataContent property to get or set the array of data that the PolyList will display. The first dimension of the array uses numeric keys, and the value of each is an array in wich each key corresponds to a subitems name.