1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-15 16:29:16 +01:00

Start 1.8 beta 3 development

Backwards compatibility change: Use the get data function to cast data as a string when being used for display
This commit is contained in:
Allan Jardine 2011-05-09 07:19:54 +01:00
parent c5b085091b
commit c8572df07a

View File

@ -1,6 +1,6 @@
/*
* File: jquery.dataTables.js
* Version: 1.8.0.beta.2
* Version: 1.8.0.dev.3
* Description: Paginate, search and sort HTML tables
* Author: Allan Jardine (www.sprymedia.co.uk)
* Created: 28/3/2008
@ -67,7 +67,7 @@
* Notes: Allowed format is a.b.c.d.e where:
* a:int, b:int, c:int, d:string(dev|beta), e:int. d and e are optional
*/
_oExt.sVersion = "1.8.0.beta.2";
_oExt.sVersion = "1.8.0.dev.3";
/*
* Variable: sErrMode
@ -2755,7 +2755,7 @@
}
else
{
nTd.innerHTML = _fnGetCellData( oSettings, iRow, i, '' );
nTd.innerHTML = _fnGetCellData( oSettings, iRow, i, 'display' );
}
/* Add user defined class */
@ -6503,7 +6503,7 @@
* Inputs: object:oSettings - dataTables settings object
* int:iRow - aoData row id
* int:iCol - Column index
* string:sSpecific - data get type ('type' 'filter' 'sort')
* string:sSpecific - data get type ('display', 'type' 'filter' 'sort')
*/
function _fnGetCellData( oSettings, iRow, iCol, sSpecific )
{
@ -6522,6 +6522,9 @@
}
}
if ( sSpecific == 'display' ) {
return sData+'';
}
return sData;
}