Datagrid scroller looks strange when coming back to card - SOLVED
Posted: Sun Sep 24, 2017 1:14 pm
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.
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.