mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-18 16:54:14 +01:00
Docs: Fix - 8400 - mDataProp when null incorrectly suggested that sDefaultContent was an empty string. It is infact null. Also typo fixes.
This commit is contained in:
parent
ab9dfd5052
commit
5907eb4639
9
media/js/jquery.dataTables.js
vendored
9
media/js/jquery.dataTables.js
vendored
@ -3306,6 +3306,8 @@
|
||||
nScrollHeadTable.style.width = _fnStringToCss( iOuterWidth );
|
||||
nScrollHeadInner.style.width = _fnStringToCss( iOuterWidth );
|
||||
|
||||
// Figure out if there are scrollbar present - if so then we need a the header and footer to
|
||||
// provide a bit more space to allow "overflow" scrolling (i.e. past the scrollbar)
|
||||
var bScrolling = $(o.nTable).height() > nScrollBody.clientHeight || $(nScrollBody).css('overflow-y') == "scroll";
|
||||
nScrollHeadInner.style.paddingRight = bScrolling ? o.oScroll.iBarWidth+"px" : "0px";
|
||||
|
||||
@ -9744,9 +9746,10 @@
|
||||
* <li>string - read an object property from the data source. Note that you can
|
||||
* use Javascript dotted notation to read deep properties/arrays from the
|
||||
* data source.</li>
|
||||
* <li>null - the sDafaultContent option will use used for the cell (empty
|
||||
* string by default. This can be useful on generated columns such as
|
||||
* edit / delete action columns.</li>
|
||||
* <li>null - the sDefaultContent option will be used for the cell (null
|
||||
* by default, so you will need to specify the default content you want -
|
||||
* typically an empty string). This can be useful on generated columns such
|
||||
* as edit / delete action columns.</li>
|
||||
* <li>function - the function given will be executed whenever DataTables
|
||||
* needs to set or get the data for a cell in the column. The function
|
||||
* takes three parameters:
|
||||
|
@ -345,9 +345,10 @@ DataTable.defaults.columns = {
|
||||
* <li>string - read an object property from the data source. Note that you can
|
||||
* use Javascript dotted notation to read deep properties/arrays from the
|
||||
* data source.</li>
|
||||
* <li>null - the sDafaultContent option will use used for the cell (empty
|
||||
* string by default. This can be useful on generated columns such as
|
||||
* edit / delete action columns.</li>
|
||||
* <li>null - the sDefaultContent option will be used for the cell (null
|
||||
* by default, so you will need to specify the default content you want -
|
||||
* typically an empty string). This can be useful on generated columns such
|
||||
* as edit / delete action columns.</li>
|
||||
* <li>function - the function given will be executed whenever DataTables
|
||||
* needs to set or get the data for a cell in the column. The function
|
||||
* takes three parameters:
|
||||
|
Loading…
x
Reference in New Issue
Block a user