Page Up/Down On Table

Is it possible to create buttons to ‘Page Up’ and ‘Page Down’ the contents of a table, The scroll bars are a little difficult to use on a touch screen.

Thanks in advance


You can put the following script on a button that will scroll the table down:from java.awt import Rectangle table = event.source.parent.getComponent('Table').getTable() viewport = table.getParent() rect = viewport.getViewRect() newRect = Rectangle(rect.x, rect.y + 50, rect.width, rect.height) table.scrollRectToVisible(newRect)You can use the same code to scroll up but do -50 instead of +50. Hope that helps.