Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vanamali on Jan 25, 2010 00:04
open dhtmlx forum
DHTMLX Grid - Custom Pagination Toolbar

I would like to have Custom Toolbar for DHTMLX Grid Pagination. Basically I want to add a “Go To Page” text box and “Go” button in the Pagination Toolbar in between Page selection drop down and the Number of rows per page drop down. This should allow the user to arbitrarily navigate to any page User wants to.
I am not an expert in Javascript. May I seek your help to get this pagination toolbar.

Regards
Vanamali

Answer posted by Stanislav (support) on Jan 25, 2010 01:38
After initializing grid with paging toolbar, you can use 
      grid.aToolBar 
to access the dhtmlxToolBar object, which can be scripted in any necessary way
      http://docs.dhtmlx.com/doku.php?id=dhtmlxtoolbar:toc
      http://docs.dhtmlx.com/doku.php?id=dhtmlxtoolbar:adding_and_removing_items

      grid.aToolBar.addButton(...

For any other questions, please use our forum

http://forum.dhtmlx.com