Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by farook on May 17, 2009 22:27
open dhtmlx forum
How to get first and last in pagination

Hi,
i'm new to dhtmlx grids...i'm really impressed with this grids...i'm doing samples on it..in that i can't able get first and last in pagination...can u please help me....and also i need to put a image as a background of header of grid...how i can do this...please help needed
Answer posted by Support on May 18, 2009 05:01
>>in that i can't able get first and last in pagination
Jumping to first and last page , can be achieved  by next js code
       grid.changePage(0); - first
       grid.changePage(Infinity) - last

Default paging skins has not buttons for first and last page, but you can use "toolbar" skin, which has such ready to use buttons
http://dhtmlx.com/docs/products/dhtmlxGrid/samples/loading_big_datasets/pro_paging_wt.html

>>and also i need to put a image as a background of header of grid
all background images stored in codebase/imgs - you can check dhtmlxgrid.css , div.gridbox_[skin name] .xhdr style will contain reference to related image.