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

Dev update: Change the name of the custom data property for Ajax sourced data

This commit is contained in:
Allan Jardine 2011-04-27 22:05:00 +01:00
parent ee3a7a6b89
commit 144bd6e178
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ oTest.fnStart( "Custom data source property - property given" );
$(document).ready( function () { $(document).ready( function () {
var oInit = { var oInit = {
"sAjaxSource": "../../../examples/ajax/sources/custom_prop.txt", "sAjaxSource": "../../../examples/ajax/sources/custom_prop.txt",
"sAjaxDataProp": "test" "sAjaxDataProp": "demo"
}; };
$('#example').dataTable( oInit ); $('#example').dataTable( oInit );

View File

@ -6,7 +6,7 @@ $(document).ready( function () {
var oInit = { var oInit = {
"sAjaxSource": "../../../examples/ajax/sources/custom_prop.txt", "sAjaxSource": "../../../examples/ajax/sources/custom_prop.txt",
"bDeferRender": true, "bDeferRender": true,
"sAjaxDataProp": "test" "sAjaxDataProp": "demo"
}; };
$('#example').dataTable( oInit ); $('#example').dataTable( oInit );