Got a strange datagrid scroller problem...
To reproduce the issue;
1) Click card "My List"
2) Scroll down a little bit
3) Click row to change card to a more detailed one
4) Click again on card "My List" - and the list is not correct
Made a small clip
Datagrid scroller problem
In preOpenCard I fill up the datagrid with data, set the new height to dgFormattedHeight, and the top of the grid to 66 pixels. I then call the function "createScroller" to create the scroller. In onCloseCard I use mobileControlDelete to delete the scroller that I created earlier.
Any ideas where I can look to solve this issue...? It's really annoying.
Datagrid scroller looks strange when coming back to card - SOLVED
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Datagrid scroller looks strange when coming back to card - SOLVED
Last edited by tomsve on Sat Oct 07, 2017 2:59 pm, edited 1 time in total.
Re: Datagrid scroller looks strange when coming back to card
Solved it by adding these two lines to the bottom of the createScroller function.
Code: Select all
set the vScroll of group "groupScrollArea" to 0
set the top of group "dgMyDatagrid" to 66