Scrolling speed of a data grid

Peter Haworth pete at lcsql.com
Wed Feb 26 12:23:27 EST 2014


Hi Terry,
I watched both videos, also played them side-by-side for comparison.  I do
see a slight difference but I'm sure it's mostly due to the complexity of
the datagrid caused by its extra functionality over your table, even though
you're not using the extras.  Sounds like Trevor may have some thoughts
about speeding up page scrolling though.

One thing that could make a small difference is that decimal point
formatting isn't being done in your table although ti's hard to believe
that would make much difference.

 If you're looking for a ready-to-use table control, I will, once again,
give a plug for Bernd Niggemann's modTableField control, although it looks
like you you've already started down the path of making your own.  It's
downloadable at

http://berndniggemann.on-rev.com/modTableField/modTableField_0_2_6pub.livecode.zip

By coincidence, I'm using it for exactly the same homegrown financial
tracking application that you're working on.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>


On Wed, Feb 26, 2014 at 2:02 AM, Terence Heaford
<t.heaford at btinternet.com>wrote:

> Hi Trevor,
>
> As promised I have made two short videos and uploaded them to dropbox.
>
> Here are the links:
>
> https://db.tt/N5uFSHft
>
> https://db.tt/Em7cHRsS
>
> Both zip files are approx. 25mb.
>
> The first link is to a video of the Data Grid and demonstrates it's action.
>
> The second link is to a Table consisting of grouped fields and a scroller
> that I have partially completed
> just to see if the performance is different to the Data Grid.
>
> The performance of both is marginally better than in the video. Seemingly
> QuickTime recording
> the screen affects performance very slightly.
>
> It can be seen that the simple table has better performance than the Data
> Grid probably because it has no
> bells and whistles.
> Could this be why I am getting a performance hit from the Data Grid?
>
> I hope there is a solution.
>
> All the best
>
> Terry
>
>
>
> On 25 Feb 2014, at 20:27, Trevor DeVore <lists at mangomultimedia.com> wrote:
>
> > Hi Terence,
> >
> > This sounds more of a speed issue related to how often the scrolling is
> > fired while using page up/down rather than a general performance issue
> with
> > the data grid.
> >
> > If you click on the data grid scrollbar and just drag from the top to
> > bottom does the data grid respond quickly?
> >
> > If so then it may just be a matter of seeing if we can get the page
> up/page
> > down to fire more frequently.
> >
>
>
> _______________________________________________
> 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
>



More information about the use-livecode mailing list