Extra Datagrid Columns
pete at mollysrevenge.com
Tue Dec 14 00:12:26 EST 2010
Great, thanks Trevor.
On Dec 13, 2010, at 7:38 PM, Trevor DeVore wrote:
> On Mon, Dec 13, 2010 at 7:53 PM, Peter Haworth
> <pete at mollysrevenge.com>wrote:
>> It seems that if you inadvertently set the dgText of a datagrid
>> with values
>> that have more columns than have been defined, the extra columns are
>> arbitrarily added to the datagrid. Does anyone know of a way to
>> this behaviour either by ignoring the extra columns or by issuing
>> some sort
>> of warning/error?
> When setting the dgText pass in true for the pIncludeColumnNames
> and pass in the column names on line 1 of the data:
> set the dgText[true] of group "DataGrid" to ...
> Se dgText in the API for more information.
> Trevor DeVore
> Blue Mango Learning Systems
> ScreenSteps: http://www.screensteps.com
> Releasable Revolution Resources for Developers:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode