Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nishan on Jun 10, 2009 15:22
open dhtmlx forum
Grid : Size of page selection list in pagination tool bar

Hi,

This is my problem :

When I click on the buttonSelect in the pagination toolbar it gives a list of pages to select from.
If there are a lot of pages, more than a 100 or so, the list grows and hides itself.

Is there a way to limit the size of this list and give a scrollbar or something.

Thanks,
Nishan
Answer posted by dhxSupport on Jun 11, 2009 01:19
Paging bar with sking "toolbar" in such case is an instance of the dhtmlxToolbar. You can get it's object using:
var toolbar=grid.aToolBar;
Now all dhtmlxToolbar API methods is availible to the toolbar variable. Please see more information about dhtmlxToolbar herer http://dhtmlx.com/docs/products/dhtmlxToolbar/doc/guide.html#toolbar_mf.
Also you  can implement custom toolbar sking. Documentation guide is availible here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_paging.html#grid_art_custpaging