# Namespace: oScroll

## Ancestry: DataTable » .models » .oSettings. » oScroll

DataTables v1.9.2 documentation

Scrolling settings for a table.

## Summary

### Properties

<static> bAutoCss :boolean
  Indicate if DataTables should be allowed to set the padding / margin etc for the scrolling header elements or not. Typically you will want this. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.
<static> bCollapse :boolean
  When the table is shorter in height than sScrollY, collapse the table container down to the height of the table (when true). Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.
<static> bInfinite :boolean
  Infinite scrolling enablement flag. Now deprecated in favour of using the Scroller plug-in. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.
<static> iBarWidth :int
  Width of the scrollbar for the web-browser's platform. Calculated during table initialisation.
<static> iLoadGap :int
  Space (in pixels) between the bottom of the scrolling container and the bottom of the scrolling viewport before the next page is loaded when using infinite scrolling. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.
<static> sX :string
  Viewport width for horizontal scrolling. Horizontal scrolling is disabled if an empty string. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.
<static> sXInner :string
  Width to expand the table to when using x-scrolling. Typically you should not need to use this. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.
<static> sY :string
  Viewport height for vertical scrolling. Vertical scrolling is disabled if an empty string. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.

## Details

### Properties

<static> bAutoCss :boolean

  Indicate if DataTables should be allowed to set the padding / margin etc for the scrolling header elements or not. Typically you will want this. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.

<static> bCollapse :boolean

  When the table is shorter in height than sScrollY, collapse the table container down to the height of the table (when true). Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.

<static> bInfinite :boolean

  Infinite scrolling enablement flag. Now deprecated in favour of using the Scroller plug-in. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.

<static> iBarWidth :int

  Width of the scrollbar for the web-browser's platform. Calculated during table initialisation.

<static> iLoadGap :int

  Space (in pixels) between the bottom of the scrolling container and the bottom of the scrolling viewport before the next page is loaded when using infinite scrolling. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.

<static> sX :string

  Viewport width for horizontal scrolling. Horizontal scrolling is disabled if an empty string. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.

<static> sXInner :string

  Width to expand the table to when using x-scrolling. Typically you should not need to use this. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.

  Deprecated
    Yes
<static> sY :string

  Viewport height for vertical scrolling. Vertical scrolling is disabled if an empty string. Note that this parameter will be set by the initialisation routine. To set a default use DataTable.defaults.