This repository has been archived by the owner on Dec 9, 2022. It is now read-only.
Releases: cnizzardini/cakephp-datatable
Releases · cnizzardini/cakephp-datatable
Bug Fix
Feature: 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.
$this->DataTable->mDataProp = true;
$this->DataTable->getResponse();
Bug Fix
Released v 1.1.2 Updated to support LIMIT and OFFSET parameters in newer versions of CakePHP