pgColumns

Typeproperty
Dictionarywidget.polygrid
LibraryPolyGrid
Syntax
set the pgColumns of widget to <Array>
get the pgColumns of widget
Associationscom.livecode.widget.polygrid
Summary

Get or set the data array that the PolyGrid uses to build columns.

Example
set the pgColumns of widget"PolyGrid" to tArray
Description

Use the pgColumns property to get or set the structure of columns. The first dimension of the array uses numeric keys, each one corresponding to a column index. Internal structure of each key is as follows:

- columnIndex["name"] -- string
- columnIndex["label"] -- string
- columnIndex["width"] -- number
- columnIndex["minWidth"] -- integer
- columnIndex["maxWidth"] -- integer
- columnIndex["contentType"] -- text|svg-lcname|imagedata|imagefile|color|boolean|autoincrement
- columnIndex["visible"] -- boolean
- columnIndex["resizable"] -- boolean
- columnIndex["contentAlignment"] -- left|center|right
- columnIndex["headerAlignment"] -- left|center|right
- columnIndex["shape"] -- none|circle|pill
- columnIndex["color"] -- RGBA Color
- columnIndex["backColor"] -- RGBA Color
- columnIndex["defaultValue"] -- String

Tagstable,data