Re: [visualization-api] Clickable number of table pagination

181 views
Skip to first unread message

Daniel LaLiberte

unread,
Dec 20, 2012, 12:13:02 AM12/20/12
to google-visua...@googlegroups.com
Hi Tony,


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 <vuductr...@gmail.com> 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.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.



--
dlaliberte@Google.com   562D 5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Tony Vu

unread,
Dec 20, 2012, 8:07:42 PM12/20/12
to google-visua...@googlegroups.com
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,


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 <vuductr...@gmail.com> 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.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualization-api+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
dlali...@Google.com   562D 5CC, Cambridge MA
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA

Daniel LaLiberte

unread,
Dec 20, 2012, 9:22:47 PM12/20/12
to google-visua...@googlegroups.com
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


To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
dlaliberte@Google.com   562D 5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Tony Vu

unread,
Dec 26, 2012, 5:52:51 PM12/26/12
to google-visua...@googlegroups.com
Thanks Dan

Sorry to reply late because of Christmas period.

It looks really good however, is this any chance can I code something similar

prev 1 2 3 4 5 ... next

I m looking forward to hear from you

Best regards

Tony Vu
dan

dan


To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
dlali...@Google.com   562D 5CC, Cambridge MA
daniel.l...@GMail.com 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 google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualization-api+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

asgallant

unread,
Dec 26, 2012, 7:48:32 PM12/26/12
to google-visua...@googlegroups.com
You can extend that code to make it look however you like.
Reply all
Reply to author
Forward
0 new messages