no scrolling on datagrid 2 on mobile

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
makeshyft
Posts: 220
Joined: Mon Apr 15, 2013 4:41 am
Contact:

no scrolling on datagrid 2 on mobile

Post by makeshyft » Sun Jul 11, 2021 4:02 pm

Hello everyone,

I've been trying for hours.

I have a datagrid (dg2) on a mobile device (android).

border is 0
showborder is false
no scrollbars (instructions said the datagrid must be "unadorned")
no effects are applied
and acceleratedrendering is on
layermode of grid is set to container
its the top most group on the card

I can't get it to scroll smoothly or scroll at all. when I set the scrollbar to auto ..... it scrolls, but still the old fashioned way.
I am going for the smooth scroll that was demoed with dg2.

On top of that I can't find any cohesive instructions how to make this dg2 work smoothly.

What am I missing?

Thanks for any help.

Cheers,

Tom
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm
Location: London, England

Re: no scrolling on datagrid 2 on mobile

Post by Bernard » Mon Jul 12, 2021 12:34 pm

it scrolls, but still the old fashioned way.
I am going for the smooth scroll that was demoed with dg2.
Can you point to a video showing what you're expecting?

makeshyft
Posts: 220
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: no scrolling on datagrid 2 on mobile

Post by makeshyft » Tue Jul 13, 2021 5:48 am

Hey Bernard,

I can't think of a video off the bat, but was it not the promise of dg2 that datagrids will scroll smoothly ?
I've seen demos of this on Canela's Appli for example.
Mine always seems to be scrolling the old way .... where rows are either visible or not visible and there is no actual scroll.
just the illusion of a scroll.

I don't know how to explain it. except to say its not fast and not smooth.
I was expecting the ability to make it scroll smoothly.

Sorry. :/
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm
Location: London, England

Re: no scrolling on datagrid 2 on mobile

Post by Bernard » Tue Jul 13, 2021 6:17 am

Can you make a video of your DG scrolling badly in the Simulator? Personally I don't even bother with the Simulator.

Before I replied yesterday I dragged a DG off the palette, created a btn to populate it, set the scrollbars to auto and launched it on an actual Android device. It scrolled in both directions with no problem. Even has native scrollbars (which I don't like, but that's not LC's problem) created by default.

So I don't know if you are seeing what I see using just the default settings but you're expecting something else, or if you are not seeing what I'm seeing.

I've spent quite a lot of time working with DG in Android. It works really well for me, but there were some tweaks. I've populated DGs with 1000s of rows and dozens of columns, and not run into any problems.

AxWald
Posts: 578
Joined: Thu Mar 06, 2014 2:57 pm

Re: no scrolling on datagrid 2 on mobile

Post by AxWald » Tue Jul 13, 2021 9:56 am

Hi,

no plan about DataGrids (I don't use such), but this reads as if such would be missing:

Code: Select all

mobileControlCreate "scroller"
Have fun!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!

makeshyft
Posts: 220
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: no scrolling on datagrid 2 on mobile

Post by makeshyft » Wed Jul 14, 2021 11:12 pm

Hi Bernard.

I will do what you did and see how it works for me. I have previously tried just starting from scratch, but I oculd not tell a difference,
Will try to make a video, not on simulator. Will post a link when I am done.

Axwalkd, the scroller works amazing everywhere except the datagrid. :/, thanks for trying.

EDIT, actually..it looks like the datagrid creates a scroller on its own, at least there is a function within its library.
But its not working as expected...but I think I have a lead as to what the problem could be,

Thanks
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

klamp
Posts: 18
Joined: Sun Sep 20, 2020 10:36 am

Re: no scrolling on datagrid 2 on mobile

Post by klamp » Thu Jul 15, 2021 12:19 pm

makeshyft wrote:
Tue Jul 13, 2021 5:48 am
I've seen demos of this on Canela's Appli for example.
sorry off topic. where can i see the demo video appli app.
I want to know.
I have read the powerful tools created by Canella Software

Thanks makeshyft

makeshyft
Posts: 220
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: no scrolling on datagrid 2 on mobile

Post by makeshyft » Tue Jul 20, 2021 2:47 am

klamp wrote:
Thu Jul 15, 2021 12:19 pm
makeshyft wrote:
Tue Jul 13, 2021 5:48 am
I've seen demos of this on Canela's Appli for example.
sorry off topic. where can i see the demo video appli app.
I want to know.
I have read the powerful tools created by Canella Software

Thanks makeshyft
Hey, I am part of the beta testers list. You might be able to get on the list if you messaged the team over there.
I agree ..... good stuff coming from Canela.

THanks,

Tom
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”