I have to admit that I do not use the Data Grid often enough to be comfortable with it, and I have problems finding how to do things.
I have a simple 3 column table style datagrid and I populate the first two columns though a SQLite database. No problem. I would like to run a calculation on the second cell in each row and populate the third cell with this calculated result. I have a function called TimeOnLine that returns the calculated result. I have added a third column to my datagrid an am looking at the FilInData scipt for the column behaviour. I do not know the syntax to retrieve the value of the second cell so that I can call my function. Can anyone help? on FillInData pData -- This message is sent when the Data Grid needs to populate -- this template with the column data. pData is the value to be displayed. -- Example: set the text of field 1 of me to TimeOnLine(?????) end FillInData Stewart -------------------------------------------------------------------------------------------------------------------- This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately. -------------------------------------------------------------------------------------------------------------------- _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
