DataGrid Cells and Behaviors
Posted: Sat May 21, 2011 1:42 pm
Hi,
I am seeking advice on the best way to create a table of data using LiveCode. I need two tables each of 50 rows by 12 columns (i.e not very large). Each cell needs to be associated with a database key and have several encode / decode routines attached or associated. At present my stack files have the encode/decode routines written as a behaviour script. I have edit fields that use the behavior script and have custom properties that hold the database key. My first though was to use a DataGrid but having watched a tutorial video it seems that the individual cell behavior scripts are already used by the datagrid itself. Am I correct and should I be looking to design my own custom table like control?
Thanks
Simon
I am seeking advice on the best way to create a table of data using LiveCode. I need two tables each of 50 rows by 12 columns (i.e not very large). Each cell needs to be associated with a database key and have several encode / decode routines attached or associated. At present my stack files have the encode/decode routines written as a behaviour script. I have edit fields that use the behavior script and have custom properties that hold the database key. My first though was to use a DataGrid but having watched a tutorial video it seems that the individual cell behavior scripts are already used by the datagrid itself. Am I correct and should I be looking to design my own custom table like control?
Thanks
Simon