Pagination
fonteijne opened this issue · comments
Hello,
Either this is not yet a feature or my generic system is not working correctly, but the "Issues & Milestones" search won't give any results on 'pagination'.
I think it would be nice to implement pagination for the table-view
It should be really nice just to add the options and get it done:
options = {
:page => "enabled",
:pageSize => "10",
:pagingSymbols => "{:prev => 'prev', :next => 'next'}", # With or without quotes, I'm not sure
:pagingButtonsConfiguration => "auto"
}
I really don't know how much work this will be, but I think it is missing.
Fonteijne
This should work as part of DataTable. I see options "page" and "pageSize" defined in https://developers.google.com/chart/interactive/docs/gallery/table.
Try these options instead:
options = {
:page => "enable",
:pageSize => 10,
:pagingSymbols => {:prev => 'prev', :next => 'next'},
:pagingButtonsConfiguration => "auto"
}
See if the generated javascript works in http://code.google.com/apis/ajax/playground/#table
Thank you @winston, my bad.
I should take a look at my system again.