Great, thanks Trevor.
Pete Haworth
On Dec 13, 2010, at 7:38 PM, Trevor DeVore wrote:
On Mon, Dec 13, 2010 at 7:53 PM, Peter Haworth
<p...@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.
http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7344-Data-Grid-API
--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode