Page 1 of 1

Datagrid Confusion

Posted: Wed Aug 14, 2024 7:24 pm
by richmond62
The current dataGrid is popularly known as 'DataGrid 2', so I would be grateful if someone could tell me in which version
of LiveCode this was introduced and replaced the previous dataGrid?

Re: Datagrid Confusion

Posted: Wed Aug 14, 2024 8:33 pm
by FourthWorld
IIRC most of the enhancements in DG2 were for mobile, like slide-to-delete.

There was also a refinement to internal control references which allows one to effectively subclass the DG with behavior scripts. This may have been a matter of changing some of the "me" references to use the relatively new "this me", avoiding the misinterpretion in some contexts which had previously made DG1 problematic with behavior scripts. That specific change is just a guess; I haven't looked into the code or related enhancement requests deeply enough to confidently list specific changes.

One way to assess change anywhere in the product is to use the Advanced Search feature in the issue DB. The team generally does a good job of keeping that current, often easier than going through a series of Release Notes PDFs.

Re: Datagrid Confusion

Posted: Thu Aug 15, 2024 12:01 pm
by richmond62
Thanks for that, but that doesn't actually answer my question.

An answer would be like this:

'DG1 was replaced by DG2 in LC version x.x.x' 8)

https://en.wikipedia.org/wiki/Analysis_paralysis

Re: Datagrid Confusion

Posted: Sun Jan 11, 2026 12:46 pm
by richmond62
So, here we are in 2026 (it's a new year: your mileage may vary), and no-one has answered what SHOULD be a very simple question:

At which version of LiveCode was DG1 replaced by DG2?

Is this true?
The datagrid 2 is still in development and will come with the new LC version 9.
https://www.forums.livecode.com/viewtopic.php?p=163725

Re: Datagrid Confusion

Posted: Sun Jan 11, 2026 1:09 pm
by SparkOut
This: https://youtu.be/qHTRX6D2N8U?si=xyYxAw12t4O5LbkO says it was v 9.dp-11

Not sure of the veracity. I'll see if I can dig out release notes


Although there's this forum post which seems to confirm 9.0.0.-dp11
viewtopic.php?f=9&t=30343

And although I can't access release notes, Ali Lloyd confirmed DG2 in this blog post relating to 9.0.0-dp11 https://legacy.livecode.com/livecode-9- ... l-preview/

Re: Datagrid Confusion

Posted: Sun Jan 11, 2026 1:38 pm
by richmond62
That'd be very kind of you.

I am wondering if one cannot import a DG1 into a more modern stack, such as LC 9.6.3 Open Source, or OpenXTalk.

Re: Datagrid Confusion

Posted: Sun Jan 11, 2026 2:57 pm
by Klaus
Could you please explain what you mean wiht "... import a DG1 into a more modern stack"?
To my knowledge a "Datagrid" is more or less just a bunch of behaviours attached to an "empty" group.

And of course a "Datagrid 1" is compatible with a "Datagrid 2", so I'm not sure what exactly you want to do.

Re: Datagrid Confusion

Posted: Sun Jan 11, 2026 3:15 pm
by richmond62
Way back when I was given the impression that DG2 was a whole new creation rather than just DG1 with a few sexy tweaks.

Re: Datagrid Confusion

Posted: Sun Jan 11, 2026 3:22 pm
by Klaus
These "sexy tweaks" are only in the behaviour script(s).
So blame the one who gave you this impression! :-D

Re: Datagrid Confusion

Posted: Sun Jan 11, 2026 3:33 pm
by richmond62
Thanks for curing me. :lol:

Re: Datagrid Confusion

Posted: Sun Jan 11, 2026 3:43 pm
by Klaus
You are welcome!