Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Veeru on Jan 08, 2008 23:05
open dhtmlx forum
dhtmlxToolbar in pagination

Function used:
mygrid.enablePagingWT(true,10,5,"gridboxpaging");

Script insertion:
    <!-- Tool bar -->
    <link rel="STYLESHEET" type="text/css" href="dhtmlxToolbar/codebase/dhtmlxtoolbar.css">
    <script language="JavaScript" src="dhtmlxToolbar/codebase/dhtmlxprotobar.js"></script>
    <script language="JavaScript" src="dhtmlxToolbar/codebase/dhtmlxtoolbar.js"></script>

When i try pagination with toolbar, the toolbar does appear and is functional, but, the images on the toolbar are not visible as the directory of images is pointing to some other location. How can i change the image source location for this toolbar?


Thanks
Vru
Answer posted by Support on Jan 09, 2008 03:30
By default toolbar use the same image path as used by grid.
Because all standard toolbar images included in grid package, you just need to set correct path by
     grid.setImagePath("codebase/imgs/")

The path need to be set before enabling paging.