Datagrid2 Form view slow down.

Sean Cole (Pi) sean at pidigital.co.uk
Thu Aug 22 11:40:01 EDT 2019


Thanks Bob,

You don't need to invoke DG2. All old DGs are 'converted' (for want of a
better word) to v2. The engine handles this.

Faster DataGrid Performance: As stated, that was a quote from the original
kickstarter (or whatever) campaign just as background to show that it was
intended to improve performance for HTML5 as well as mobile and desktop (as
html5 is my main area of concern at the moment), not mobile alone (although
it was mainly requested for mobile). So, by default, performance for DG
should go up for ALL platforms because of bringing up the efficiency of
"the way it creates, removes and caches objects". This stands to reason.

Note: None of the new features are included in the Guide as yet so you need
to refer to the release notes for 9.0, 9.0.5 and 9.5 to get an
understanding of these. Although the notes do not make it completely clear
about all of the features as yet. Hopefully soon they will employ a
dedicated copywriter who loves making dictionaries and guides to bring it
all up to date.

Still, hopefully an understanding of 'adornments' (as the dictionary seems
to shed no light on this) will help answer this.

Sean


On Thu, 22 Aug 2019 at 15:35, Bob Sneidar via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I think it was this part:
>
> Faster DataGrid Performance
> The number one feature we get asked for is to improve performance of
> complex DataGrids on mobile. We will improve performance in two ways.
> First, we will rework the DataGrid code to be more efficient in the way
> that it creates, removes and caches objects.
>
> The datagrid performance is for Mobile, not all platforms.
>
> BTW do I have to invoke DG2 when creating one? Or all DGs now v2?
>
> Bob S
>
> > On Aug 22, 2019, at 07:27 , Sean Cole (Pi) via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > Hi Monte,
> >
> > Many thanks for your response. I don't know how I had inferred that I was
> > using mobile as this is ONLY for PC Desktop and HTML5 emscripten running
> in
> > Chrome on a PC Desktop (which will be the final intended platform). I'm
> > confused about what I said that caused Herman and yourself to assume I
> was
> > talking about mobile. I thought the HTML5 forum was for Desktop Web only.
> >
> > I checked in dglist for the effective layermode of the Row Templates in
> my
> > form and they are coming up as 'static' (set layermode is 'dynamic'). So
> > there must be some incompatible adornment. But, as Henry asked, what
> > adornments would cause this? I don't even know what is meant by the term
> > 'adornments'.
> >
> > All I have in my template is 3 standard text fields with no adjustments,
> > the standard background graphic (no adjustment) and a single rounded
> > rectangle graphic that sits underneath one of the fields (the only
> > adjustment I have tried on this is turning off antialiasing just to see
> if
> > it made a difference). Is a rounded rectangle classed as an 'adornment'?
> > But even without this added it still shows as being effective 'static'.
> If
> > we can't use simple text fields and a simple rect graphic without
> affecting
> > the effective layerMode then Form view is near useless.
> >
> > I look forward to being educated about adornments? Thanks again.
> >
> > Henry,
> >
> > you need to use...
> >
> > put the effective layermode of grp "Row Template 0001" of grp "dglist"
> > of grp "DG_Browse"
> >
> >
> > Sean
> >
> >
> >>
> > _______________________________________________
> > 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
>



More information about the use-livecode mailing list