Datagrid not showing all lines - resolved/sort of

Bob Sneidar bobs at twft.com
Wed Oct 3 13:27:57 EDT 2012


That is because the datagrid only processes the visible rows, plus the row before and the row after. This is one of the main features of a Datagrid, as speed for a table object with large amounts of data was one of the hurdles to overcome. The dgNumberOfRecords property and method are for handling a LARGE number of records. 800, in computer terms is not very large at all. Think tens of thousands and up. 10,000 keys each containing 1000 characters is still only one megabyte. (plus overhead yes yes). 

Bob


On Oct 3, 2012, at 9:54 AM, James Hale wrote:

> Sure enough, setting the dgData to populate the datagrid made all lines appear.
> Grabbing a set of 883 records was no slower than 8 records.





More information about the use-livecode mailing list