Datagrid questions

Peter Haworth pete at lcsql.com
Fri Nov 14 13:37:29 EST 2014


Working with a datagrid table after a break from them for a while.

I have a couple of situations where I need to adjust the settings of a
specific "cell" (line/column) in the datagrid depending on data in other
cells.

In the first case, I have a customized column with a button in it. In some
data situations, I need to change the button's icon but not sure the best
place to do that.  I could do it in FillInData but can't figure out how to
get hold of the data in the datagrid that determines what the icon should
be. Or maybe there's a better way.

In the second case, I have a column whose dgColumnIsEditable set to true
but I need to disable editing it depending on the content of another cell
in the datagrid.

Any pointers appreciated.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>



More information about the use-livecode mailing list