Datagrid dgNumberOfRecords

Pete pete at mollysrevenge.com
Mon Feb 6 15:41:43 EST 2012


It's really not that hard Bob.  Trevor has a demo stack that shows how to
do it and it took me maybe 15 minutes to convert the datagrid to use this
method. The selectionChanged message works fine in his demo so I guess I
must have done something to mess things up!
Pete

On Mon, Feb 6, 2012 at 12:05 PM, Bob Sneidar <bobs at twft.com> wrote:

> That is the primary reason I have stayed away from this method. It appears
> that once you do this, you have to manage all the interaction with the
> datagrid yourself. When the time comes I am going to build a paging system
> into my SQL queries so that only a certain amount of data is loaded at any
> one time.
>
> Bob
>
>
> On Feb 6, 2012, at 11:43 AM, Pete wrote:
>
> > Just got done converting a datagrid to use dgNumberOfRecords - speeds up
> > the loading of data considerably.  But now the datagrid doesn't respond
> > when I click on a row in it - the row isn't highlighted and no
> > selectionChanged message is sent to the datagrid.  Anyone else run into
> > this?  The dg is a table by the way.
> > Thanks,
> >
> >
> > --
> > Pete
> > Molly's Revenge <http://www.mollysrevenge.com>
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>



More information about the use-livecode mailing list