Problem with paginator using datatable plugin extracted form metronic


hi there, i’m using datatable plugin from metronic in my index.ctp…

the problem:
my paginator only shows 2 pages and 20 entries using they original code and if i use cakephp original code shows me my 256 real entries from my data


i want to use the paginator from datatable but this only shows me 2 pages…please help