Skip to content

Commit

Permalink
Merge pull request #5 from niktrix/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
zepernick committed May 28, 2015
2 parents e39a78a + ff097d5 commit 5deb55c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ in the `data` property of the `columns` array.
$('#myDataTable').dataTable( {
processing: true,
serverSide: true,
ajax: '/index.php/DataTableExample/dataTable',
ajax: {
"url": "/index.php/DataTableExample/dataTable",
"type": "POST"
},
columns: [
{ data: "s.s_name" },
{data : "c.c_name"},
Expand All @@ -186,4 +189,4 @@ Resources
License Information
-------------------

License: The MIT License (MIT), http://opensource.org/licenses/MIT
License: The MIT License (MIT), http://opensource.org/licenses/MIT

0 comments on commit 5deb55c

Please sign in to comment.