Major Datagrid Issues

Ken Ray kray at sonsothunder.com
Sat Apr 14 13:09:49 EDT 2012


> I load data into the datagrid by setting the dgNumberOfRecords -
> GetDataForLine is called correctly, all looks fine.  Now I go through a
> filtering process and set the dgNUmberOfRecords again, let's say it ends up
> at 2.  GetDataForLine gets called twice and I see that I load the correct
> data into pDataA.  The datagrid now correctly shows two lines but they have
> the data from the first two lines of the original display, not the selected
> lines.  Bad news.

Do you have "Persistent Data" checked on for the data grid? If so, try turning it off and see if that helps.

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/	




More information about the use-livecode mailing list