Extra Datagrid Columns
lists at mangomultimedia.com
Mon Dec 13 22:38:35 EST 2010
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 prevent
> 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 property
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.
Blue Mango Learning Systems
Releasable Revolution Resources for Developers:
More information about the Use-livecode