Height of a group is limited to 32767 (Int16)?
monte at appisle.net
Sun Nov 13 20:30:56 CET 2016
It is not an issue for the data grid itself it is an issue for the DataGrid + mergDataGridScroller. I wrote mergDataGridScroller with the goal of smooth scrolling relatively short DataGrids. If you want to use scrolling layer mode on a group then you really need to avoid fiddling with the group content while scrolling. That’s why it expands the DataGrid to it’s full formatted height and sets the scroll on the wrapper group instead. My suggestion is you look at the mergDataGridScroller behavior code and limit the height of the data grid to something reasonable and then use a mix of setting the DataGrid scroll and setting the wrapper group scroll. That should give you just one jitter every now and then instead of all the time.
> On 14 Nov. 2016, at 3:56 am, hlowe <hlowe at me.com> wrote:
> Thanks. I see that you reported the problem in January 2016, that it was
> confirmed, but it is (apparently) unresolved. Is this a bug or a fundamental
> limitation of the LC engine? Can it be fixed without a major rewrite? It is
> a major limitation when trying to use a data grid + native scroller to
> create a list on mobile.
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Height-of-a-group-is-limited-to-32767-Int16-tp4710267p4710271.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode