Tony, It turns out Andrew Gallant responded recently to a similar question ( https://groups.google.com/forum/#!searchin/google-visualization-api/startPage/google-visualization-api/7_UW47KS-xM/-5f_2LMKNYkJ) and has written up some code to do part of the job, and I added some more to generate the page number links. See http://jsfiddle.net/dlaliberte/mbSdV/
Hope this helps. dan On Thu, Dec 20, 2012 at 8:07 PM, Tony Vu <[email protected]> wrote: > Hi Daniel > > Thanks for your reply. > > I really need to customize the table pagination for my website now. > > Do you give me more suggestion in term of how to make it ? > > Really appreciate it > > Regards > > Tony Vu > > On Thursday, December 20, 2012 4:13:02 PM UTC+11, Daniel LaLiberte wrote: > >> Hi Tony, >> >> The feature that you request happens to be very popular on the feature >> request list at http://code.google.com/p/**google-visualization-api-** >> issues/issues/detail?id=116&**sort=-stars&colspec=ID%20Type%** >> 20Status%20Priority%**20Milestone%20Owner%20Summary%**20Stars<http://code.google.com/p/google-visualization-api-issues/issues/detail?id=116&sort=-stars&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Stars>. >> >> Since this should be fairly easy to implement, I expect we will do that >> within the next month or so. It is not possible for you to extend the >> Google code directly, but it might be possible to add your own controls >> outside of the table visualization to affect what gets displayed in the >> table, probably by setting the startPage option. >> >> Thanks for your interest. >> >> dan >> >> On Wed, Dec 19, 2012 at 11:07 PM, Tony Vu <[email protected]> wrote: >> >>> Hi Everyone >>> >>> I currently using google visualization API table pagination. By default, >>> Google just provide 2 buttons (pre and next) to forward and backward the >>> records. >>> >>> If I have 100 pages for records then It really take time to move to page >>> 50 for example >>> >>> is there anyone know how to extend the code something like pre .. 1 ,2 >>> ,3 ,4 ,5 ... next >>> >>> and of course all the page number is click-able link >>> >>> thanks >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google Visualization API" group. >>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/google-visualization-api/-**/kLkkpLKPZM4J<https://groups.google.com/d/msg/google-visualization-api/-/kLkkpLKPZM4J> >>> . >>> To post to this group, send email to google-visua...@**googlegroups.com. >>> >>> To unsubscribe from this group, send email to google-visualization-api+* >>> *[email protected]. >>> For more options, visit this group at http://groups.google.com/** >>> group/google-visualization-**api?hl=en<http://groups.google.com/group/google-visualization-api?hl=en> >>> . >>> >> >> >> >> -- >> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> >> - 978-394-1058 >> [email protected] 562D 5CC, Cambridge MA >> [email protected] 9 Juniper Ridge Road, Acton MA >> >> -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-visualization-api/-/NtaokMwsCscJ. > > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 [email protected] <[email protected]> 562D 5CC, Cambridge MA [email protected] <[email protected]> 9 Juniper Ridge Road, Acton MA -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
