Some
question about text and apperance on the “Grid bottom control”
- How can I remove the “xx rows
per page”
- How can change the text: " Record from x to x"
setRecordsInfoTemplate("Results [from]-[to] of [about][total]");Does
not work and if only one page the "
Results" text is displaying
3) How can I change the text “Page
x”.
In case of using of paging toolbar you can use
setPagingWTMode method
/**
*
@desc: configure paging with toolbar mode (must be called BEFORE enablePagingWT
)
*
@param: navButtons - enable/disable navigation buttons
*
@param: navLabel - enable/disable navigation label
*
@param: pageSelect - enable/disable page selector
*
@param: perPageSelect - enable/disable rows per page selector
*
@param: labels - (array) - array of labels, default is [Records
from,to,Page,rows per page]
*
@type: public
*/
dhtmlXGridObject.prototype.setPagingWTMode =
function(navButtons,navLabel,pageSelect,perPageSelect,labels){
So in you case it will be:
my_grid.setPagingWTMode
=(true,true,true,false,[“Results”,"Records from “,” to
","Page ",“rows per page”]);
The labels can be changed any you want