Skip to content

Commit

Permalink
Fix - example: Typo in Ajax with deep objects description
Browse files Browse the repository at this point in the history
Thread 31330
  • Loading branch information
Allan Jardine committed Nov 11, 2015
1 parent 61d2253 commit 0f04e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ajax/deep.xml
Expand Up @@ -25,7 +25,7 @@ $(document).ready(function() {

<info><![CDATA[
DataTables has the ability to use data from almost data JSON data source through the use of the `dt-init columns.data` option. In its simplest case, it can be used to read arbitrary object properties, but can also be extended to _n_ levels of nested objects / arrays through the use of standard Javascript dotted object notation. Each dot (`.`) in the `dt-init columns.data` option represents another object level.
DataTables has the ability to use data from almost any JSON data source through the use of the `dt-init columns.data` option. In its simplest case, it can be used to read arbitrary object properties, but can also be extended to _n_ levels of nested objects / arrays through the use of standard Javascript dotted object notation. Each dot (`.`) in the `dt-init columns.data` option represents another object level.
In this example `hr.position` refers to the `position` property of the `hr` object in the row's data source object, while `contact.0` refers to the first element of the `contact` array. Any number of dots can be used to obtain deeply nested data.
Expand Down

0 comments on commit 0f04e50

Please sign in to comment.