Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
cnizzardini committed Mar 14, 2014
1 parent e6a65b7 commit 27f6467
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Dependancies

Updates
------
* Mar 14, 2014 (v1.2.0) - Added support for mDataProp
* Feb 13, 2014 (v1.1.2) - Updated to support LIMIT and OFFSET parameters in newer versions of CakePHP
* Nov 1, 2013 (v1.1.1) - Improved performance of table count by setting model->recursive = -1 on count queries
* May 25, 2013 - added full demo under test. Resolved some bugs dealing with SQL LIMITS and cleared up some error handling.
Expand Down Expand Up @@ -141,6 +142,17 @@ can be accomplished with the following parameters:
$this->DataTable->getResponse(null,$this->Order);
```

Using mData

New in v1.2.0 is support for mData. When I originally wrote this component I didn't realize that dataTables supported
strings for indexes (such as aData.User.name instead of aData[1]). This functionality is off by default (for now). To
enable this parameter set your mData properties in your JS code (https://datatables.net/usage/columns) and in your
server side code set DataTable->mDataProp = true just before calling getResponse.
```php
$this->DataTable->mDataProp = true;
$this->DataTable->getResponse(null,$this->Order);
```

Licensing
------
Code is licensed under the MIT License.

0 comments on commit 27f6467

Please sign in to comment.