No special command for that, the number of "lines" in tColumns in:
...
set the dgProp["columns"] of grp "myDG" to tColumns
...
will define that, ONE line for each column.
Populating a datagrid form with database values
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Populating a datagrid form with database values
Hi Klaus,
Thanks for the answer...
In fact i saw this in one of the lessons (How do I create a Datagrid dynamically from tab delimited data)
put line 1 of theData into theColumns
--no empty column names are allowed, so I insert a space when that happens
replace tab & tab with tab & " " & tab in theColumns
replace tab with return in theColumns
set the dgProp["columns"] of group "my DataGrid" to theColumns
And using this (adapted to my necesity) i managed...
Thanks for your time and your answers!!!
regards,
fko
Thanks for the answer...

In fact i saw this in one of the lessons (How do I create a Datagrid dynamically from tab delimited data)
put line 1 of theData into theColumns
--no empty column names are allowed, so I insert a space when that happens
replace tab & tab with tab & " " & tab in theColumns
replace tab with return in theColumns
set the dgProp["columns"] of group "my DataGrid" to theColumns
And using this (adapted to my necesity) i managed...
Thanks for your time and your answers!!!

regards,
fko