where can I register a new bug?
where can I register a new bug?
When I have started to use iDisplayLength, I started having problems to display the numbers "START" and "END".
The problem is that:
fnDisplayEnd: function () {
var a = this._iDisplayLength,
b = this._iDisplayStart,
c = b + a,
e = this.aiDisplay.length,
d = this.oFeatures,
f = d.bPaginate;
The values of "this._iDisplayLength" and "this._iDisplayStart" are text and not numbers.
I have "0100" + "1" = "01001"
and not 101.
not only there. too in the "function O(a)", and in "function Db(a, b)"
I have solved this problem with "parseInt()"
a._iDisplayStart = parseInt(a._iDisplayStart);
a._iDisplayLength = parseInt(a._iDisplayLength);
Have a nice day
Dick
This discussion has been closed.
Answers
Hi,
It sounds like you are passing in string values where DataTables expects numbers. I don't believe that to be a bug, although if you post a link to a page showing the issue I'd be happy to take a look and determine if that is actually the case or not.
Allan