Skip to main content

pgData

Type​

property

Summary​

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

Syntax​

set the pgData of widget to <DataArray>
get the pgData of widget

Description​

Use the pgData property to get or set the array of data that the PolyGrid will display. The first dimension of the array uses numeric keys, and the value of each is an dictionary array in which each key corresponds to a column name. The value taken by the pgData property is an ordered array.

    put \"Hi\" into tArray[1][\"message\"]
put \"Bye\" into tArray[2][\"message\"]
set the pgData of widget \"PolyGrid\" to tArray

Examples​

set the pgData of widget"PolyGrid" to tArray