The paging needs to be something like this :
Results Total 55 << Previous x 1 2 3 4 5 … y Next x >>
The << sign should take the user to the first page.
The >> sign should take the user to the last page.
The y is a number that user will be able to see that many links in the paging and the user will be able to skip x number of pages each time they click on next x or previous x.
can be set as
mygrid.setPagingTemplates(“Results Total [total] << [prevpages:Previous: ] [currentpages:, ] [nextpages:Next: ] >> “,””);
dhtmlx.com/docs/products/dhtmlxG … custpaging
Hi,
I have a query, Suppose take this situation.
I am taking x and y values from database to customize the paging.
For example : Results Total 14 << 1 2 3 Next 7 >>
As there are only 14 records and each page is showing 5 records, How can I disable the showing of Previous 7 and Next 7 links from paging as is not
necessary to show them because Total no. of pages showing records are 3 only ??? Means it should be automatic I think.
Please help.
Problem confirmed and fixed. Fix will be released as part of next build.
( fixed version of dhtmlxgrid_pgn.js sent by email )
Hi there,
I am also facing the same problem, please send the dhtmlxgrid_pgn.js file to me also.
My E-Mail Id : tejash1983@gmail.com
I will be grateful to you people.
Hi,
As I have made some changes in dhtmlxgrid_pgn.js to work according to the requirements, I dont know where you people have made changes to function
according to the below requirements.
I am attaching my dhtmlxgrid_pgn.js, please make the same changes in my file please.
Thanks in advance.
dhtmlxgrid_pgn.js.zip (3.29 KB)
Thanks for the quick support.
DHTMLX Rocks
Hi,
I have a query :
I don’t want to show << for first page and >> for last page , how to do it ?
The only way to achieve such dynamic behavior - create custom paging skin. It can be done with ready-to-use solutions.
dhtmlx.com/docs/products/dhtmlxG … custpaging