Datagrid Confusion
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
richmond62
- Livecode Opensource Backer

- Posts: 10303
- Joined: Fri Feb 19, 2010 10:17 am
Datagrid Confusion
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?
of LiveCode this was introduced and replaced the previous dataGrid?
Last edited by richmond62 on Thu Aug 15, 2024 12:00 pm, edited 1 time in total.
-
FourthWorld
- VIP Livecode Opensource Backer

- Posts: 10078
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Datagrid Confusion
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.
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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
richmond62
- Livecode Opensource Backer

- Posts: 10303
- Joined: Fri Feb 19, 2010 10:17 am
Re: Datagrid Confusion
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'
https://en.wikipedia.org/wiki/Analysis_paralysis
An answer would be like this:
'DG1 was replaced by DG2 in LC version x.x.x'
https://en.wikipedia.org/wiki/Analysis_paralysis
-
richmond62
- Livecode Opensource Backer

- Posts: 10303
- Joined: Fri Feb 19, 2010 10:17 am
Re: Datagrid Confusion
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?
At which version of LiveCode was DG1 replaced by DG2?
Is this true?
https://www.forums.livecode.com/viewtopic.php?p=163725The datagrid 2 is still in development and will come with the new LC version 9.
Re: Datagrid Confusion
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/
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/
-
richmond62
- Livecode Opensource Backer

- Posts: 10303
- Joined: Fri Feb 19, 2010 10:17 am
Re: Datagrid Confusion
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.
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
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.
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.
-
richmond62
- Livecode Opensource Backer

- Posts: 10303
- Joined: Fri Feb 19, 2010 10:17 am
Re: Datagrid Confusion
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
These "sexy tweaks" are only in the behaviour script(s).
So blame the one who gave you this impression!
So blame the one who gave you this impression!
-
richmond62
- Livecode Opensource Backer

- Posts: 10303
- Joined: Fri Feb 19, 2010 10:17 am
Re: Datagrid Confusion
You are welcome!