1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Dev change: mDataSource renames to mDataProp. Reason for the change is that in future we could have mSortProp and mFilterProp if we wanted to sort / filter on something other than the main data. Also we are refering to a property of the source object (or an index of the source array - hence keeping the 'm' prefix)

This commit is contained in:
Allan Jardine 2011-04-23 10:38:00 +01:00
parent 1f681d81ac
commit e9adba0802
53 changed files with 839 additions and 839 deletions

View File

@ -19,9 +19,9 @@
"aoColumns": [
null,
null,
{ "mDataSource": 2 },
{ "mDataSource": "3.version" },
{ "mDataSource": "3.grade" }
{ "mDataProp": 2 },
{ "mDataProp": "3.version" },
{ "mDataProp": "3.grade" }
],
"fnInitComplete": function () {
oTable.fnUpdate( 'AAAA', $('tbody>tr:eq(0)')[0], 4 );

View File

@ -17,11 +17,11 @@
"bProcessing": true,
"sAjaxSource": "sources/deep.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform.inner" },
{ "mDataSource": "platform.details.0" },
{ "mDataSource": "platform.details.1" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform.inner" },
{ "mDataProp": "platform.details.0" },
{ "mDataProp": "platform.details.1" }
]
} );
} );

View File

@ -21,7 +21,7 @@
null,
null,
null,
{ "mDataSource": null }
{ "mDataProp": null }
]
} );
} );

View File

@ -17,11 +17,11 @@
"bProcessing": true,
"sAjaxSource": "sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
} );

View File

@ -17,11 +17,11 @@
"bProcessing": true,
"sAjaxSource": "sources/objects_subarrays.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "details.0" },
{ "mDataSource": "details.1" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "details.0" },
{ "mDataProp": "details.1" }
],
"fnInitComplete": function () {
oTable.fnUpdate( 'AAAA', $('tbody>tr:eq(0)')[0], 4 );

View File

@ -1801,7 +1801,7 @@
* int: - return data object for aoData entry of this index
* node(TR): - return data object for this TR element
* int:iCol - optional - the column that you want the data of. This will take into
* account mDataSource and return the value DataTables uses for this column
* account mDataProp and return the value DataTables uses for this column
*/
this.fnGetData = function( mRow, iCol )
{
@ -2521,7 +2521,7 @@
"fnRender": null,
"bUseRendered": true,
"iDataSort": iCol,
"mDataSource": iCol,
"mDataProp": iCol,
"fnGetData": null,
"fnSetData": null,
"sSortDataType": 'std',
@ -2589,14 +2589,14 @@
_fnMap( oCol, oOptions, "fnRender" );
_fnMap( oCol, oOptions, "bUseRendered" );
_fnMap( oCol, oOptions, "iDataSort" );
_fnMap( oCol, oOptions, "mDataSource" );
_fnMap( oCol, oOptions, "mDataProp" );
_fnMap( oCol, oOptions, "asSorting" );
_fnMap( oCol, oOptions, "sSortDataType" );
}
/* Cache the data get and set functions for speed */
oCol.fnGetData = _fnGetObjectDataFn( oCol.mDataSource );
oCol.fnSetData = _fnSetObjectDataFn( oCol.mDataSource );
oCol.fnGetData = _fnGetObjectDataFn( oCol.mDataProp );
oCol.fnSetData = _fnSetObjectDataFn( oCol.mDataProp );
/* Feature sorting overrides column specific when off */
if ( !oSettings.oFeatures.bSort )
@ -6451,7 +6451,7 @@
{
if ( oSettings.iDrawError != oSettings.iDraw )
{
_fnLog( oSettings, 0, "Requested unknown parameter '"+oCol.mDataSource+
_fnLog( oSettings, 0, "Requested unknown parameter '"+oCol.mDataProp+
"' from the data source for row "+iRow );
oSettings.iDrawError = oSettings.iDraw;
return '';

View File

@ -24,9 +24,9 @@ $(document).ready( function () {
"aoColumns": [
null,
null,
{ "mDataSource": 2 },
{ "mDataSource": "3.version" },
{ "mDataSource": "3.grade" }
{ "mDataProp": 2 },
{ "mDataProp": "3.version" },
{ "mDataProp": "3.grade" }
],
"aaData": [
[

View File

@ -22,11 +22,11 @@ oTest.fnTest(
$(document).ready( function () {
var oInit = {
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform.inner" },
{ "mDataSource": "platform.details.0" },
{ "mDataSource": "platform.details.1" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform.inner" },
{ "mDataProp": "platform.details.0" },
{ "mDataProp": "platform.details.1" }
],
"aaData": [
{

View File

@ -26,7 +26,7 @@ $(document).ready( function () {
null,
null,
null,
{ "mDataSource": null }
{ "mDataProp": null }
],
"aaData": gaaData
};

View File

@ -22,11 +22,11 @@ oTest.fnTest(
$(document).ready( function () {
var oInit = {
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaData": [
{

View File

@ -22,11 +22,11 @@ oTest.fnTest(
$(document).ready( function () {
var oInit = {
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "details.0" },
{ "mDataSource": "details.1" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "details.0" },
{ "mDataProp": "details.1" }
],
"aaData": [
{

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -46,11 +46,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['1','asc']]
} );
@ -66,11 +66,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['1','desc']]
} );
@ -86,11 +86,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['1','asc']]
} );
@ -106,11 +106,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['1','desc']]
} );
@ -126,11 +126,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['0','asc'], ['1','asc']]
} );
@ -145,11 +145,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['0','asc'], ['1','desc']]
} );
@ -164,11 +164,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['0','desc'], ['1','asc']]
} );
@ -183,11 +183,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['0','desc'], ['1','desc']]
} );
@ -203,11 +203,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['0','asc'], ['3','asc']]
} );
@ -222,11 +222,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['0','asc'], ['3','desc']]
} );
@ -241,11 +241,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['0','desc'], ['3','asc']]
} );
@ -260,11 +260,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['0','desc'], ['3','desc']]
} );
@ -279,11 +279,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSorting": [['0','asc'], ['3','asc'], ['1','asc']]
} );

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -31,11 +31,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSortingFixed": [['0','asc']],
"fnInitComplete": function () {
@ -62,11 +62,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"aaSortingFixed": [['3','asc']]
} );

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -33,11 +33,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser", "bSearchable": false },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser", "bSearchable": false },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
oSettings = oTable.fnSettings();
@ -59,11 +59,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine", "bSearchable": false },
{ "mDataSource": "browser", "bSearchable": false },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine", "bSearchable": false },
{ "mDataProp": "browser", "bSearchable": false },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
oSettings = oTable.fnSettings();

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -28,11 +28,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser", "bSortable": false },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser", "bSortable": false },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
$('#example thead th:eq(1)').click();
@ -62,11 +62,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser", "bSortable": false },
{ "mDataSource": "platform" },
{ "mDataSource": "version", "bSortable": false },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser", "bSortable": false },
{ "mDataProp": "platform" },
{ "mDataProp": "version", "bSortable": false },
{ "mDataProp": "grade" }
]
} );
},

View File

@ -12,9 +12,9 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataProp": "engine" },
{
"mDataSource": "browser",
"mDataProp": "browser",
"fnRender": function (a) {
if ( mTmp == 0 ) {
mTmp++;
@ -23,9 +23,9 @@ $(document).ready( function () {
return a.aData['browser'];
}
},
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -44,9 +44,9 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataProp": "engine" },
{
"mDataSource": "browser",
"mDataProp": "browser",
"bUseRendered": false,
"fnRender": function (a) {
if ( mTmp == 0 ) {
@ -57,9 +57,9 @@ $(document).ready( function () {
}
}
},
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
$('#example thead th:eq(1)').click();
@ -80,7 +80,7 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{
"mDataSource": "engine",
"mDataProp": "engine",
"fnRender": function (a) {
if ( mTmp == 0 ) {
mTmp++;
@ -91,7 +91,7 @@ $(document).ready( function () {
}
},
{
"mDataSource": "browser",
"mDataProp": "browser",
"bUseRendered": false,
"fnRender": function (a) {
if ( mTmp2 == 0 ) {
@ -103,7 +103,7 @@ $(document).ready( function () {
}
},
{
"mDataSource": "platform",
"mDataProp": "platform",
"fnRender": function (a) {
if ( mTmp3 == 0 ) {
mTmp3++;
@ -113,8 +113,8 @@ $(document).ready( function () {
}
}
},
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
},

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -28,11 +28,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser", "bVisible": false },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser", "bVisible": false },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
},
@ -83,11 +83,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser", "bVisible": false },
{ "mDataSource": "platform", "bVisible": false },
{ "mDataSource": "version" },
{ "mDataSource": "grade", "bVisible": false }
{ "mDataProp": "engine" },
{ "mDataProp": "browser", "bVisible": false },
{ "mDataProp": "platform", "bVisible": false },
{ "mDataProp": "version" },
{ "mDataProp": "grade", "bVisible": false }
]
} );
},

View File

@ -7,17 +7,17 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataProp": "engine" },
{
"mDataSource": "browser",
"mDataProp": "browser",
"fnRender": function (a) {
mTmp++;
return a.aData['browser'];
}
},
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -36,7 +36,7 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataProp": "engine" },
{
"fnRender": function (a) {
if ( arguments.length != 1 || typeof a.iDataRow=='undefined' ||
@ -46,11 +46,11 @@ $(document).ready( function () {
}
return a.aData['browser'];
},
"mDataSource": "browser"
"mDataProp": "browser"
},
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
},
@ -65,9 +65,9 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataProp": "engine" },
{
"mDataSource": "browser",
"mDataProp": "browser",
"fnRender": function (a) {
if ( a.iDataColumn != 1 )
{
@ -76,9 +76,9 @@ $(document).ready( function () {
return a.aData['browser'];
}
},
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
},
@ -93,9 +93,9 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataProp": "engine" },
{
"mDataSource": "browser",
"mDataProp": "browser",
"fnRender": function (a) {
if ( a.aData.length != 5 )
{
@ -104,9 +104,9 @@ $(document).ready( function () {
return a.aData['browser'];
}
},
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
},
@ -120,16 +120,16 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataProp": "engine" },
{
"mDataSource": "browser",
"mDataProp": "browser",
"fnRender": function (a) {
return 'unittest';
}
},
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
},
@ -143,21 +143,21 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{
"mDataSource": "platform",
"mDataProp": "platform",
"fnRender": function (a) {
return 'unittest1';
}
},
{
"mDataSource": "version",
"mDataProp": "version",
"fnRender": function (a) {
return 'unittest2';
}
},
{ "mDataSource": "grade" }
{ "mDataProp": "grade" }
]
} );
},

View File

@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser", "iDataSort": 4 },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser", "iDataSort": 4 },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -50,11 +50,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser", "iDataSort": 4 },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade", "iDataSort": 1 }
{ "mDataProp": "engine" },
{ "mDataProp": "browser", "iDataSort": 4 },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade", "iDataSort": 1 }
]
} );
},

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -28,11 +28,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform", "sClass": 'unittest' },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform", "sClass": 'unittest' },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
},
@ -89,11 +89,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine", "sClass": 'unittest2' },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version", "sClass": 'unittest1' },
{ "mDataSource": "grade" }
{ "mDataProp": "engine", "sClass": 'unittest2' },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version", "sClass": 'unittest1' },
{ "mDataProp": "grade" }
]
} );
},

View File

@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version", "sName": 'unit test' },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version", "sName": 'unit test' },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -37,11 +37,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser", "sTitle": 'unit test' },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser", "sTitle": 'unit test' },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
},
@ -64,11 +64,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser", "sTitle": 'unit test 1' },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade", "sTitle": 'unit test 2' }
{ "mDataProp": "engine" },
{ "mDataProp": "browser", "sTitle": 'unit test 1' },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade", "sTitle": 'unit test 2' }
]
} );
},

View File

@ -12,11 +12,11 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"bAutoWidth": false,
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser", "sWidth": '40%' },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser", "sWidth": '40%' },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -35,11 +35,11 @@ $(document).ready( function () {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"bAutoWidth": false,
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform", "sWidth": '20%' },
{ "mDataSource": "version", "sWidth": '30%' },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform", "sWidth": '20%' },
{ "mDataProp": "version", "sWidth": '30%' },
{ "mDataProp": "grade" }
]
} );
},
@ -59,11 +59,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version", "sWidth": '40%' },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version", "sWidth": '40%' },
{ "mDataProp": "grade" }
]
} );
},

View File

@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -39,11 +39,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"aoSearchCols": [
null,
@ -64,11 +64,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"aoSearchCols": [
null,
@ -89,11 +89,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"aoSearchCols": [
{ "sSearch": ".*ML", "bEscapeRegex": false },
@ -114,11 +114,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"aoSearchCols": [
{ "sSearch": ".*ML", "bEscapeRegex": false },
@ -139,11 +139,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"aoSearchCols": [
{ "sSearch": ".*ML", "bEscapeRegex": false },

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
@ -44,11 +44,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"asStripClasses": []
} );
@ -74,11 +74,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"asStripClasses": [ 'test1', 'test2' ]
} );
@ -100,11 +100,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"asStripClasses": [ 'test1', 'test2', 'test3', 'test4' ]
} );

View File

@ -12,11 +12,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -93,11 +93,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bAutoWidth": false
} );
@ -145,11 +145,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bAutoWidth": true
} );

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
@ -28,11 +28,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bFilter": false
} );
@ -48,11 +48,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bFilter": true
} );

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
@ -28,11 +28,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bInfo": false
} );
@ -48,11 +48,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bInfo": true
} );

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
@ -51,11 +51,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bLengthChange": false
} );
@ -78,11 +78,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bLengthChange": true
} );

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
@ -35,11 +35,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bPaginate": false
} );
@ -62,11 +62,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bPaginate": true
} );

View File

@ -12,11 +12,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -54,11 +54,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bProcessing": true
} );
@ -99,11 +99,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bProcessing": false
} );

View File

@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
@ -70,11 +70,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bSort": false
} );
@ -102,11 +102,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bSort": true
} );

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
@ -94,11 +94,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bSortClasses": false
} );
@ -136,11 +136,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bSortClasses": true
} );

View File

@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -35,11 +35,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnDrawCallback": function ( ) {
mPass = arguments.length;
@ -62,11 +62,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnDrawCallback": function ( oSettings ) {
mPass = oSettings;
@ -91,11 +91,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnDrawCallback": function ( ) {
mPass++;

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -33,11 +33,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnHeaderCallback": function ( ) {
mPass = arguments.length;
@ -62,11 +62,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) {
mPass++;
@ -93,11 +93,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) {
nHead.getElementsByTagName('th')[0].innerHTML = "Displaying "+(iEnd-iStart)+" records";
@ -117,11 +117,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) {
if ( iStart != 0 )
@ -144,11 +144,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) {
if ( iStart == 10 )
@ -174,11 +174,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) {
if ( iEnd == 20 )
@ -204,11 +204,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) {
if ( aiDisplay.length == 57 )
@ -230,11 +230,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) {
if ( aiDisplay.length == 9 )

View File

@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -34,11 +34,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnInitComplete": function ( ) {
mPass = arguments.length;
@ -57,11 +57,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnInitComplete": function ( oSettings ) {
mPass = oSettings;
@ -81,11 +81,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnInitComplete": function ( ) {
mPass++;
@ -115,11 +115,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnInitComplete": function ( ) {
mPass = $('#example tbody tr').length;

View File

@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -34,11 +34,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnRowCallback": function ( nTr ) {
mPass = arguments.length;
@ -59,11 +59,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnRowCallback": function ( nTr, asData, iDrawIndex, iDataIndex ) {
mPass++;
@ -81,11 +81,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnRowCallback": function ( nTr, asData, iDrawIndex, iDataIndex ) {
$(nTr).addClass('unit_test');
@ -105,11 +105,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnRowCallback": function ( nTr, asData, iDrawIndex, iDataIndex ) {
if ( asData.length != 5 )
@ -131,11 +131,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnRowCallback": function ( nTr, asData, iDrawIndex, iDataIndex ) {
if ( iCount != iDrawIndex )

View File

@ -10,11 +10,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnServerData": function () {
mPass = arguments.length;
@ -31,11 +31,11 @@ $(document).ready( function () {
"bDestroy": true,
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnServerData": function (sUrl, aoData, fnCallback) {
mPass = sUrl == "../../../examples/ajax/sources/objects.txt";
@ -52,11 +52,11 @@ $(document).ready( function () {
"bDestroy": true,
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnServerData": function (sUrl, aoData, fnCallback) {
mPass = aoData.length==0;
@ -73,11 +73,11 @@ $(document).ready( function () {
"bDestroy": true,
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"fnServerData": function (sUrl, aoData, fnCallback) {
mPass = typeof fnCallback == 'function';

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
@ -34,11 +34,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"iDisplayLength": 25
} );
@ -60,11 +60,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"iDisplayLength": 100
} );
@ -86,11 +86,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"iDisplayLength": 23
} );

View File

@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"sPaginationType": "full_numbers"
} );
@ -52,11 +52,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"sPaginationType": "full_numbers",
"oLanguage": {

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -35,11 +35,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfo": "unit test"
@ -63,11 +63,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfo": "unit _START_ test"
@ -84,11 +84,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfo": "unit _END_ test"
@ -105,11 +105,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfo": "unit _END_ test"
@ -126,11 +126,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfo": "unit _START_ _END_ test"
@ -147,11 +147,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfo": "unit _START_ _END_ _TOTAL_ test"

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -40,11 +40,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfoEmpty": "unit test"
@ -75,11 +75,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfoEmpty": "unit _START_ _END_ _TOTAL_ test"

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -35,11 +35,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfoPostFix": "unit test"
@ -64,11 +64,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfoPostFix": "unit _START_ _END_ _TOTAL_ test"
@ -86,11 +86,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sInfoPostFix": "unit test"

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -47,11 +47,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sLengthMenu": "unit test"
@ -79,11 +79,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sLengthMenu": "unit _MENU_ test"
@ -108,11 +108,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sLengthMenu": "_MENU_"

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
],
"bProcessing": true
} );
@ -36,11 +36,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"bProcessing": true,
"oLanguage": {

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -36,11 +36,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sSearch": "unit test"
@ -66,11 +66,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sSearch": ""

View File

@ -10,11 +10,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -33,11 +33,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sUrl": "../../../examples/examples_support/de_DE.txt"

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -36,11 +36,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oLanguage": {
"sZeroRecords": "unit test"

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -35,11 +35,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oSearch": {
"sSearch": "Mozilla"
@ -64,11 +64,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oSearch": {
"sSearch": "DS",
@ -86,11 +86,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oSearch": {
"sSearch": "Opera",
@ -108,11 +108,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oSearch": {
"sSearch": "1.*",
@ -130,11 +130,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"oSearch": {
"sSearch": "1.*",

View File

@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();

View File

@ -8,11 +8,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -53,11 +53,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"sDom": '<"wrapper"flipt>'
} );
@ -110,11 +110,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"sDom": '<lf<t>ip>'
} );
@ -167,11 +167,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"sDom": 'frtip'
} );
@ -203,11 +203,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"sDom": 'lrtip'
} );
@ -241,11 +241,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"sDom": 'lfrtp'
} );
@ -277,11 +277,11 @@ $(document).ready( function () {
$('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"sDom": 'lfrti'
} );

View File

@ -6,11 +6,11 @@ $(document).ready( function () {
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumns": [
{ "mDataSource": "engine" },
{ "mDataSource": "browser" },
{ "mDataSource": "platform" },
{ "mDataSource": "version" },
{ "mDataSource": "grade" }
{ "mDataProp": "engine" },
{ "mDataProp": "browser" },
{ "mDataProp": "platform" },
{ "mDataProp": "version" },
{ "mDataProp": "grade" }
]
} );
var oSettings = oTable.fnSettings();
@ -69,11 +69,11 @@ $(document).ready( function () {
oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/ajax/sources/objects.txt",
"aoColumnDefs": [
{ "mDataSource": "engine", "aTargets": [0] },
{ "mDataSource": "browser", "aTargets": [1] },
{ "mDataSource": "platform", "aTargets": [2] },
{ "mDataSource": "version", "aTargets": [3] },
{ "mDataSource": "grade", "aTargets": [4] }
{ "mDataProp": "engine", "aTargets": [0] },
{ "mDataProp": "browser", "aTargets": [1] },
{ "mDataProp": "platform", "aTargets": [2] },
{ "mDataProp": "version", "aTargets": [3] },
{ "mDataProp": "grade", "aTargets": [4] }
],
"sPaginationType": "full_numbers",
"fnInitComplete": function () {