DataGrid V8 question

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
DRunner4
Posts: 3
Joined: Wed Aug 26, 2015 9:26 pm

DataGrid V8 question

Post by DRunner4 » Wed Aug 26, 2015 9:29 pm

I am using Ver8 and trying to create a datagrid. The tutorials and instructions show a number of controls for the Datagrid including Row Template, Row Behavior etc.. When I pull the datagrid onto the card, I do not have any such options and cannot modify the datagrid beyond changing the name. Any suggestions?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: DataGrid V8 question

Post by dunbarx » Wed Aug 26, 2015 9:39 pm

Hi.

Datagrids take time to master, regardless of the LC version you are using. Get the DG manual. The first portion of it is devoted to templates. The property inspector will give you a number of properties you can play with, but most will be found in the API section at the bottom of the manual.

Craig Newman

DRunner4
Posts: 3
Joined: Wed Aug 26, 2015 9:26 pm

Re: DataGrid V8 question

Post by DRunner4 » Wed Aug 26, 2015 10:50 pm

ok thanks for your reply and i understand what you are saying. I can see the custom properties in the API and see in the project inspector how to get to the scripts of each. That said, the property inspector of the datagrid has absolutely no resemblance to ANY of the documentation, or tutorials. I cannot understand how V8 can be that so much different from whatever versions are covered in the documentation and tutorial - and NO reference whatsoever to the changes. I have read how the company is focused on beginners getting through the training/tutorials and even gives away the first few lessons (create it with Livecode). However - either there is a BUG in V8 or the training is not up to date with V8. Again - I appreciate your answer but it does not address this discrepancy between the IDE and documentation so ... there could be a bug?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: DataGrid V8 question

Post by Simon » Thu Aug 27, 2015 1:36 am

Hi DRunner4,
Just so we're clear liveCode 8 is a Developer Preview and so full of unfinished? undocumented? stuff.
Beginners should not be using it, well they'll get really messed up by it. It hardly runs on my Win 7.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

DRunner4
Posts: 3
Joined: Wed Aug 26, 2015 9:26 pm

Re: DataGrid V8 question

Post by DRunner4 » Thu Aug 27, 2015 2:13 pm

Yes Simon - I appreciate that. I downloaded the newest release of 8 and there are some fixes relative to the templates in the datagrid. That said - it is still buggy and unusable. I know I was pushing the envelope and the tutorials would be a bit out of sync. I downloaded 7 and see that 8 and even the newest release of 8 still has issues with the datagrid inspector/templates. I expect some issues - I just wanted to make sure I wasn't doing something wrong. Thx.

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: DataGrid V8 question

Post by sturgis » Sat Aug 29, 2015 6:13 pm

With 8 dp3 I can see the required properties to work with the datagrid. 2nd icon (at the top) datagrid, then for me an error pops up that I ignore (for now), and THEN wait.... about 5 seconds.. And then resize the inspector and voila' there they are. Simple *cough*

After the first time things work well enough. Image


EDIT: Ok I lied. You gotta re-size the inspector every time.

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: DataGrid V8 question

Post by MaxV » Mon Aug 31, 2015 10:00 am

To master datagrid, read here: http://livecode.wikia.com/wiki/Datagrid_API
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply