Fix for Bug in TableTools
Fix for Bug in TableTools
flightlessbird
Posts: 1Questions: 0Answers: 0
I have patched the TableTools plugin to respect the behaviour of fnRender for each column. I'm including the changed section below, but feel free to contact me for the patch.
Starting at line 1408 in TableTools.js
[code]
/* Columns */
for ( i=0, iLen=dt.aoColumns.length ; i
Starting at line 1408 in TableTools.js
[code]
/* Columns */
for ( i=0, iLen=dt.aoColumns.length ; i
This discussion has been closed.
Replies
The modification was to change the following line (8)
[code]
if (typeof mTypeData != "string" && dt.aoColumns[i].fnRender) {
[/code]
to
[code]
if (dt.aoColumns[i].fnRender) {
[/code]
It still seems to work but I haven't tested it on string types only numeric.
Thanks
Dan