mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
Copy the column options on top of the column settings object
This commit is contained in:
parent
b3e57df2ef
commit
64a1b6b032
16
media/js/jquery.dataTables.js
vendored
16
media/js/jquery.dataTables.js
vendored
@ -124,22 +124,8 @@
|
|||||||
oCol._bAutoType = false;
|
oCol._bAutoType = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
_fnMap( oCol, oOptions, "bVisible" );
|
$.extend( oCol, oOptions );
|
||||||
_fnMap( oCol, oOptions, "bSearchable" );
|
|
||||||
_fnMap( oCol, oOptions, "bSortable" );
|
|
||||||
_fnMap( oCol, oOptions, "sTitle" );
|
|
||||||
_fnMap( oCol, oOptions, "sName" );
|
|
||||||
_fnMap( oCol, oOptions, "sWidth" );
|
|
||||||
_fnMap( oCol, oOptions, "sWidth", "sWidthOrig" );
|
_fnMap( oCol, oOptions, "sWidth", "sWidthOrig" );
|
||||||
_fnMap( oCol, oOptions, "sClass" );
|
|
||||||
_fnMap( oCol, oOptions, "fnRender" );
|
|
||||||
_fnMap( oCol, oOptions, "fnCreatedCell" );
|
|
||||||
_fnMap( oCol, oOptions, "bUseRendered" );
|
|
||||||
_fnMap( oCol, oOptions, "mDataProp" );
|
|
||||||
_fnMap( oCol, oOptions, "asSorting" );
|
|
||||||
_fnMap( oCol, oOptions, "sSortDataType" );
|
|
||||||
_fnMap( oCol, oOptions, "sDefaultContent" );
|
|
||||||
_fnMap( oCol, oOptions, "sContentPadding" );
|
|
||||||
|
|
||||||
/* iDataSort to be applied (backwards compatibility), but aDataSort will take
|
/* iDataSort to be applied (backwards compatibility), but aDataSort will take
|
||||||
* priority if defined
|
* priority if defined
|
||||||
|
@ -64,22 +64,8 @@ function _fnColumnOptions( oSettings, iCol, oOptions )
|
|||||||
oCol._bAutoType = false;
|
oCol._bAutoType = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
_fnMap( oCol, oOptions, "bVisible" );
|
$.extend( oCol, oOptions );
|
||||||
_fnMap( oCol, oOptions, "bSearchable" );
|
|
||||||
_fnMap( oCol, oOptions, "bSortable" );
|
|
||||||
_fnMap( oCol, oOptions, "sTitle" );
|
|
||||||
_fnMap( oCol, oOptions, "sName" );
|
|
||||||
_fnMap( oCol, oOptions, "sWidth" );
|
|
||||||
_fnMap( oCol, oOptions, "sWidth", "sWidthOrig" );
|
_fnMap( oCol, oOptions, "sWidth", "sWidthOrig" );
|
||||||
_fnMap( oCol, oOptions, "sClass" );
|
|
||||||
_fnMap( oCol, oOptions, "fnRender" );
|
|
||||||
_fnMap( oCol, oOptions, "fnCreatedCell" );
|
|
||||||
_fnMap( oCol, oOptions, "bUseRendered" );
|
|
||||||
_fnMap( oCol, oOptions, "mDataProp" );
|
|
||||||
_fnMap( oCol, oOptions, "asSorting" );
|
|
||||||
_fnMap( oCol, oOptions, "sSortDataType" );
|
|
||||||
_fnMap( oCol, oOptions, "sDefaultContent" );
|
|
||||||
_fnMap( oCol, oOptions, "sContentPadding" );
|
|
||||||
|
|
||||||
/* iDataSort to be applied (backwards compatibility), but aDataSort will take
|
/* iDataSort to be applied (backwards compatibility), but aDataSort will take
|
||||||
* priority if defined
|
* priority if defined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user