setScroll(scroll, value: boolean);
scroll. Scrollbar type: vertical or horizontal.
value. Controls scrollbar visibility.
The setScroll method sets scrollbars for the table in the express report working area.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Disable table scrollbars:
// Get table view var gridView = expressBox.getDataView().getGridView(); // Disable horizontal scrollbar gridView.setScroll(PP.Exp.Ui.TableEnum.HScroll, False); // Disable vertical scrollbar gridView.setScroll(PP.Exp.Ui.TableEnum.VScroll, False);
After executing the example horizontal and vertical scrollbars are disabled for the table:
See also: