Namespace: oDefaults - documentation

# Namespace: oDefaults

Scroller v1.0.2 documentation

Scroller default settings for initialisation

## Summary

### Properties

<static> rowHeight :int|string
  Scroller will attempt to automatically calculate the height of rows for it's internal calculations. However the height that is used can be overridden using this parameter.
<static> serverWait :int
  When using server-side processing, Scroller will wait a small amount of time to allow the scrolling to finish before requesting more data from the server. This prevents you from DoSing your own server! The wait time can be configured by this parameter.
<static> trace :bool
  Indicate if Scroller show show trace information on the console or not. This can be useful when debugging Scroller or if just curious as to what it is doing, but should be turned off for production.

## Details

### Properties

<static> rowHeight :int|string

  Scroller will attempt to automatically calculate the height of rows for it's internal calculations. However the height that is used can be overridden using this parameter.

  ##### Example

         var oTable = $('#example').dataTable( {
             "sScrollY": "200px",
             "sDom": "frtiS",
             "bDeferRender": true
             "oScroller": {
               "rowHeight": 30
             }
         } );

<static> serverWait :int

  When using server-side processing, Scroller will wait a small amount of time to allow the scrolling to finish before requesting more data from the server. This prevents you from DoSing your own server! The wait time can be configured by this parameter.

  ##### Example

         var oTable = $('#example').dataTable( {
             "sScrollY": "200px",
             "sDom": "frtiS",
             "bDeferRender": true
             "oScroller": {
               "serverWait": 100
             }
         } );

<static> trace :bool

  Indicate if Scroller show show trace information on the console or not. This can be useful when debugging Scroller or if just curious as to what it is doing, but should be turned off for production.

  ##### Example

         var oTable = $('#example').dataTable( {
             "sScrollY": "200px",
             "sDom": "frtiS",
             "bDeferRender": true
             "oScroller": {
               "trace": true
             }
         } );