Datagrid Confusion

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10303
Joined: Fri Feb 19, 2010 10:17 am

Datagrid Confusion

Post by richmond62 » Wed Aug 14, 2024 7:24 pm

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?
Last edited by richmond62 on Thu Aug 15, 2024 12:00 pm, edited 1 time in total.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10078
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Datagrid Confusion

Post by FourthWorld » Wed Aug 14, 2024 8:33 pm

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10303
Joined: Fri Feb 19, 2010 10:17 am

Re: Datagrid Confusion

Post by richmond62 » Thu Aug 15, 2024 12:01 pm

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

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10303
Joined: Fri Feb 19, 2010 10:17 am

Re: Datagrid Confusion

Post by richmond62 » Sun Jan 11, 2026 12:46 pm

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

SparkOut
Posts: 2980
Joined: Sun Sep 23, 2007 4:58 pm

Re: Datagrid Confusion

Post by SparkOut » Sun Jan 11, 2026 1:09 pm

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/

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10303
Joined: Fri Feb 19, 2010 10:17 am

Re: Datagrid Confusion

Post by richmond62 » Sun Jan 11, 2026 1:38 pm

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.

Klaus
Posts: 14280
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid Confusion

Post by Klaus » Sun Jan 11, 2026 2:57 pm

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.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10303
Joined: Fri Feb 19, 2010 10:17 am

Re: Datagrid Confusion

Post by richmond62 » Sun Jan 11, 2026 3:15 pm

Way back when I was given the impression that DG2 was a whole new creation rather than just DG1 with a few sexy tweaks.

Klaus
Posts: 14280
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid Confusion

Post by Klaus » Sun Jan 11, 2026 3:22 pm

These "sexy tweaks" are only in the behaviour script(s).
So blame the one who gave you this impression! :-D

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10303
Joined: Fri Feb 19, 2010 10:17 am

Re: Datagrid Confusion

Post by richmond62 » Sun Jan 11, 2026 3:33 pm

Thanks for curing me. :lol:

Klaus
Posts: 14280
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Datagrid Confusion

Post by Klaus » Sun Jan 11, 2026 3:43 pm

You are welcome!

Post Reply