# Namespace: defaults

## Ancestry: FixedColumns. » defaults

FixedColumns v3.0.0 documentation

FixedColumns default settings for initialisation

## Summary

### Properties - static

<static> fnDrawCallback :function(object, object):void

  Draw callback function which is called when FixedColumns has redrawn the fixed assets

<static> iLeftColumns :int

  Number of left hand columns to fix in position

<static> iRightColumns :int

  Number of right hand columns to fix in position

<static> sHeightMatch :string

  Height matching algorthim to use. This can be "none" which will result in no height matching being applied by FixedColumns (height matching could be forced by CSS in this case), "semiauto" whereby the height calculation will be performed once, and the result cached to be used again (fnRecalculateHeight can be used to force recalculation), or "auto" when height matching is performed on every draw (slowest but must accurate)

## Details

### Properties - static

<static> fnDrawCallback :function(object, object):void

  Draw callback function which is called when FixedColumns has redrawn the fixed assets

  ##### Example

           var table = $('#example').dataTable( {
               "scrollX": "100%"
           } );
           new $.fn.dataTable.fixedColumns( table, {
               "drawCallback": function () {
      	            alert( "FixedColumns redraw" );
      	        }
           } );

<static> iLeftColumns :int

  Number of left hand columns to fix in position

  ##### Example

           var  = $('#example').dataTable( {
               "scrollX": "100%"
           } );
           new $.fn.dataTable.fixedColumns( table, {
               "leftColumns": 2
           } );

<static> iRightColumns :int

  Number of right hand columns to fix in position

  ##### Example

           var table = $('#example').dataTable( {
               "scrollX": "100%"
           } );
           new $.fn.dataTable.fixedColumns( table, {
               "rightColumns": 1
           } );

<static> sHeightMatch :string

  Height matching algorthim to use. This can be "none" which will result in no height matching being applied by FixedColumns (height matching could be forced by CSS in this case), "semiauto" whereby the height calculation will be performed once, and the result cached to be used again (fnRecalculateHeight can be used to force recalculation), or "auto" when height matching is performed on every draw (slowest but must accurate)

  ##### Example

           var table = $('#example').dataTable( {
               "scrollX": "100%"
           } );
           new $.fn.dataTable.fixedColumns( table, {
               "heightMatch": "auto"
           } );