Data Grid
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 108
- Joined: Mon Mar 20, 2017 5:13 am
Data Grid
Hello, data grids are the thing that I struggle with the most.
I'm trying to create basically a contacts list.
I've seen the LiveCode post about this.
The main difference is that I will be porting in the data from an SQL database.
I get how to database portion of the code works.
What I don't get is how to display the data, and if so how do I go about displaying the data for each data entry in the SQL database.
I'm trying to create basically a contacts list.
I've seen the LiveCode post about this.
The main difference is that I will be porting in the data from an SQL database.
I get how to database portion of the code works.
What I don't get is how to display the data, and if so how do I go about displaying the data for each data entry in the SQL database.
-
- Posts: 719
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
-
- Livecode Opensource Backer
- Posts: 9293
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Data Grid
We know, Richmond, we know!
-
- Posts: 719
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: Data Grid
I use a lot of DataGrid.
It is not a complex as it seems when you understand the way they are set up.
Keep on experimenting and you will get there.
It is not a complex as it seems when you understand the way they are set up.
Keep on experimenting and you will get there.
Re: Data Grid
Well, if you read here, you'll see a lot of properties of datagrid: https://livecode.wikia.com/wiki/Datagrid_API
To query a database see: https://livecode.wikia.com/wiki/MySQL
The main datagrid properties for your goals are:
To query a database see: https://livecode.wikia.com/wiki/MySQL
The main datagrid properties for your goals are:
- dgText
- dgHeader
- dgData
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w