Hey guys,
I am attempting to scroll a data grid using buttons. Does anyone know how to interact with "dgVScroll" to scroll up or down?
I cannot seem to find a script way of doing this and am attempting to avoid using the built in data grid scroll bars.
Thanks!
Kaubs
Datagrid Scrollbar
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Datagrid Scrollbar
Found this information.
Love that you can work with %.
For a test run I did "set the dgvscrollpercent of group "myGroup" to .5" from the message box, and it worked like a charm.
Source: http://lessons.runrev.com/s/lessons/m/d ... a-Grid-APIdgVScroll
- get the dgVScroll
- set the dgVScroll of group "DataGrid" to pInteger
- Get/set the vertical scroll of the data grid.
dgVScrollPercent
- get the dgVScrollPercent
- set the dgVScrollPercent of group "DataGrid" to pPercent
- Get/set the percentage of the vertical scroll. A number between 0 and 1.
Love that you can work with %.
For a test run I did "set the dgvscrollpercent of group "myGroup" to .5" from the message box, and it worked like a charm.
Re: Datagrid Scrollbar
Great! Thanks for the find. I will see what I can do with that and share what I find if it works well.