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:
parent
ee3a7a6b89
commit
144bd6e178
@ -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 );
|
||||||
|
|
||||||
|
@ -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 );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user