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.


_______________________________________________
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