datatable: document tfoot in lazy mode is not supported, remove useless line - … | |
git clone git://git.codemadness.org/jscancer | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit fa112f42ca153afa96c3c8fc251fa1d170de2beb | |
parent df713220d317e47814942549cdd7d15c526f3b78 | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
diff --git a/datatable/README b/datatable/README | |
@@ -135,9 +135,11 @@ To update data dynamically see example-ajax.html for an ex… | |
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 | |
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;… | |
prev = p.insertBefore(d.data[i].tr, prev.nextS… | |
- | |
- tbody.hidden = !nrows; | |
}; | |
d.scroll = function(y) { | |
bodyel.scrollTop = y; |