I see what you have done and when I create a new project with LC9 and create a
Data Grid I do not have any problems.
The issue I have is when I create a Data Grid within a project that has been
created with an earlier version of LC.
If this is relevant I do not know.
For the moment I have settled on placing this in the preOpenCard handler
put “aa,bb,cc,dd,ee,ff,gg,hh" into tFields
replace "," with CR in tFields
set the dgProp[ "column labels" ] of group “myTable" to tFields
This does the trick but it would be better if I knew why?
There are 13 Data Grids in the project.
8 that were there before LC9 are OK the other 5 exhibit the issue.
All the best
> On 15 Apr 2018, at 05:23, James Hale <ja...@thehales.id.au> wrote:
> I am using 9 on a Mac and I cannot reproduce your issue.
> I noticed you mention DGH and so perhaps it is a Data Grid Helper issue
> (although I fail to see how.)
> If I open the PI for a data grid and click on the Columns tab, click on a
> column in the list
> (here's one I prepared earlier.)
> Then type a name in the "Name" field, tab out or hit the Enter key and the
> label I entered (in the above image "Name") appears in my data grid on my
> stack. I do not need to refresh anything.
> If I then save my stack, quit LC, relaunch and open the saved stack, the
> labels are there as expected.
> So maybe something else is going on in your case?
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription