Problem when populate dataGrid Table by file
Posted: Tue Sep 08, 2009 10:34 am
hi,
I have a problem when i populate datagrid table. I can't provide the header.
my script:
on mouseUp
## populate datagrid TAble with file
answer file "Choissez le fichier"
put it into ttheFile
put true into tHeader
set the dgText [tHeader] of group "Datagrid 1" to URL ("File:" & tThefile)
end mouseUp
When i put true into tHeader datagrid is empty
When is false , the dataGrid is fill, header are named "col1", "col 2"...
What wrong?
Thanks for help
I hope you could understand my english...
I have a problem when i populate datagrid table. I can't provide the header.
my script:
on mouseUp
## populate datagrid TAble with file
answer file "Choissez le fichier"
put it into ttheFile
put true into tHeader
set the dgText [tHeader] of group "Datagrid 1" to URL ("File:" & tThefile)
end mouseUp
When i put true into tHeader datagrid is empty
When is false , the dataGrid is fill, header are named "col1", "col 2"...
What wrong?
Thanks for help
I hope you could understand my english...