pgContentTypeofColumn

Typeproperty
Dictionarywidget.polygrid
LibraryPolyGrid
Syntax
get the pgContentTypeofColumn of widget
Associationscom.livecode.widget.polygrid
Summary

Get the data type of a column in a PolyGrid.

Example
on mouseUp
    local tTypeOfColumn

    # The following code shows how to get the content type of column number 5.
    set the pgInternalPointer of widget"PolyGrid" to "5" --> Column 5
    put the pgContentTypeofColumn of widget"PolyGrid" into tTypeOfColumn --> text, svg-lcname,...
end mouseUp
Description

Before calling the pgContentTypeofColumn property, you must point to the column for which you want to get the type. This is done with the pgInternalPointer property.

Tagstable,data