datatable: document tfoot in lazy mode is not supported, remove useless line - jscancer - Javascript crap (relatively small)
(HTM) git clone git://git.codemadness.org/jscancer
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit fa112f42ca153afa96c3c8fc251fa1d170de2beb
(DIR) parent df713220d317e47814942549cdd7d15c526f3b78
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 16 Aug 2017 18:13:44 +0200
datatable: document tfoot in lazy mode is not supported, remove useless line
Diffstat:
M datatable/README | 8 +++++---
M datatable/datatable.js | 2 --
2 files changed, 5 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/datatable/README b/datatable/README
@@ -135,9 +135,11 @@ To update data dynamically see example-ajax.html for an example how to do this.
CAVEATS
-------
-A date, integer, float or other values must be able to parse properly, when
-the parse function returns NaN, null or undefined etc. the sorting behaviour
-is also undefined. It is recommended to always set a zero value for each type.
+- A date, integer, float or other values must be able to parse properly, when
+ the parse function returns NaN, null or undefined etc. the sorting behaviour
+ is also undefined. It is recommended to always set a zero value for each
+ type.
+- <tfoot> is not supported in datatables in "lazy" mode.
Author
(DIR) diff --git a/datatable/datatable.js b/datatable/datatable.js
@@ -107,8 +107,6 @@ function datatable_init(el) {
for (var i = start, prev = startfiller, p = bodytbody; i <= end; i++)
prev = p.insertBefore(d.data[i].tr, prev.nextSibling);
-
- tbody.hidden = !nrows;
};
d.scroll = function(y) {
bodyel.scrollTop = y;