This control is a wrapper around a datagrid. When you drop it on a stack it will add a new datagrid so if you want to wrap an existing datagrid then delete that one and copy your existing datagrid into the group.

After modifying the contents of your DataGrid dispatch or send updateContentRect to the mergDataGridScroller group and the scroller will be updated to the correct size.

The control will use the native scroller on iOS and on android in versions of LiveCode greater than 5.5.1. On android pre LC 5.5.1 the control will use a scripted momentum scroller.

mergDataGridScroller requires DropTools from http://sonsothunder.com

Place mergDataGridScroller.livecode in your DropTools folder.