Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Oscar Poch on Apr 15, 2008 03:39
open dhtmlx forum
Using special characters in paginal output

I'am creating a web site in spanish, so I need to include some special chars in the recinfoArea. Someting as "registros por página". I tried to modify the dhtmlxgrid_pgn.js file but it didn't work. I've modified:

this._WTlabels=labels||["Resultados","Registros del "," al ","Página ...

or

this._WTlabels=labels||["Resultados","Registros del "," al ","Página....

but if did not work.

Could you please give me some help

Thanks

Oscar Poch

Answer posted by Support on Apr 15, 2008 04:20
If you are using paging in normal mode you can change the labels which referenced as
    grid.recordsInfoStr
    grid.noRecordStr
    grid.pagesPrefix

In case of paging with toolbar you can set custom buttons labels by
    grid.setPagingWTMode(true,true,true,true,["Results","Records from "," to ","Page ","rows per page",'To First Page','Previous Page','Found Records','Next Page','To Last Page'])

>>this._WTlabels=labels||["Resultados","Registros del "," al ","Página....
>>but if did not work.
If you are using paging with toolbar - it must work, but in case of default paging it will not cause any effect.
Answer posted by opoch@seuba.com on Apr 15, 2008 04:36
It worked fine!. Thank you.