Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Terence Lai on Jul 21, 2009 17:53
open dhtmlx forum
Localization on dhtmlxGrid recinfoArea

According to the Samples of dhtmlxGrid, pagination can be enabled through the following API call:

mygrid.enablePaging(true,10,3,"pagingArea",true,"recinfoArea");

By calling this method, records info will be shown ("Results 11-40 from known 100"). Is there any way to localize this records info string? I am trying to find out whether dhtmlxGrid has multi-langauges support.

Answer posted by dhxSupport on Jul 22, 2009 02:05
To localize paging bar you can use following method:
grid.i18n.paging={
  results:"Results",
  records:"Records from ",
  to:" to ",
  page:"Page ",
  perpage:"rows per page",
  first:"To first Page",
  previous:"Previous Page",
  found:"Found records",
  next:"Next Page",
  last:"To last Page",
  of:" of ",
  notfound:"No Records Found" }

Please find more information about customization paging output here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_paging.html#grid_art_custpaging