Hi list,

I have a couple of questions for datagrid experts.
I have a datagrid with 7 columns, one of them populated
with buttons. In a work session, the content of the grid
will be updated dozens or even hundreds of times, with
data up to 1000 rows.
According to my tests, new groups are created inside the
grid at every update, and the ids of the controls can
reach 1000000 or more.

1- is there a way to keep the ids low, or start again
from 1000 or so at every update ?

2- it looks like after so many updates with large numbers
of rows, the memory tends to get saturated, and the app
finally freezes or crashes. Is there a workaround ?

Years ago, before datagrids were available in LC, I did
build my own datagrid with a combination of fields, buttons
and groups that were created only once, and then populated
with successive data updates, and never had such problems...

Thank you in advance for any wise tip, advice and comment.
jbv

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to