DHX Grid : Showing Paging details twice for the grid.

Hi there,

I want to show two paging functionalities for a single grid.

I am using following commands to show paging.



.enablePaging(true,21,3,“pagingArea”,true,“recinfoArea”);

.setPagingTemplates(“

Results Total [total]
<<
[prevpages:Previous “+defaultNoOfPages+”: ]
[currentpages:]
[nextpages:Next “+defaultNoOfPages+”: ]
>>
“,””);



I tried using two different div Ids to show two paging functionalities, but of no use.

Can u tell me how to do it ?

You can try to use << and >> instead of << and >> correspondingly. For example:

mygrid.setPagingTemplates(“

Results Total [total]
<<
[prevpages:Previous “+defaultNoOfPages+”: ]
[currentpages:]
[nextpages:Next “+defaultNoOfPages+”: ]
>>
“,””);

Hi,
    But will this show grid paging twice for a single grid ???

Sorry for the late answer. Unfortunately, grid API doesn’t allows to set two paging templates at once.