Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 05, 2007 10:15
open dhtmlx forum
Some question about text and apperance on the "Grid bottom control" 1) How can I remove the "xx rows ...

Some question about text and apperance on the "Grid bottom control"
1) How can I remove the "xx rows per page"
2) 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".
Answer posted on Mar 05, 2007 10:15

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

Answer posted by Andrei (Support) on Nov 28, 2014 10:42

To find more precise comments upon this issue, we can offer you read about agenda script and php progress bar file upload.