Checkbox in datagrid = true
Posted: Mon Nov 09, 2015 11:45 pm
Hi -
I am new to LiveCode and have gotten pretty far within the first 2 weeks of working on things.
I have created a database in the cloud with MySQL.
I have created a Datagrid on a card and have been able to populate it with data.
I have utilized DBGHelper in order to put a checkbox into a column. (I have created the column checkbox without DBGH as well).
What I am not able to do though, is reflect the data value of TRUE from the database in the checkbox.
So - I have columns: LastName, FirstName and DONE. The DONE is the Boolean value in the database or TinyBit(1) value. When I populate the datagrid from the cloud, I would like DONE to show a value as a CHECKED box in the appropriate column.
I at a loss. Thank you in advance.
Pahbie
I am new to LiveCode and have gotten pretty far within the first 2 weeks of working on things.
I have created a database in the cloud with MySQL.
I have created a Datagrid on a card and have been able to populate it with data.
I have utilized DBGHelper in order to put a checkbox into a column. (I have created the column checkbox without DBGH as well).
What I am not able to do though, is reflect the data value of TRUE from the database in the checkbox.
So - I have columns: LastName, FirstName and DONE. The DONE is the Boolean value in the database or TinyBit(1) value. When I populate the datagrid from the cloud, I would like DONE to show a value as a CHECKED box in the appropriate column.
I at a loss. Thank you in advance.
Pahbie