Hi all. I am trying to get the pagination controls and record count (e.g. View 101 – 200 of 439) appear on the top toolbar but I’m not having any success.
Yes, I’ve managed to get the toolbar to also appear at the top using
$opt[“toolbar”] = “both”;
I tried using:
$opt[“toppager”] = true;
But it just doesn’t appear.
I used the Browser console and found the page had ui-state-disabled. I also managed to display the record count by changing CSS:
.ui-jqgrid #datatable_toppager > div > table:nth-child(1) > tbody > tr > td:nth-child(3) {
display: block;
}
I thought global search was interfering, so I also did:
$opt[“globalsearch”] = false;
But that didn’t help. Any ideas how to make pagination appear in the top toolbar?
Thanks.
Hi,
Here is the demo code.
https://gist.github.com/gridphp/e2232c0052f2f34de3b785f1e21598c7
Line 28,29 and 51,52
Screenshot: