This configurePagingButtons options is not documented and it is not exactly
clear why one would need it.  The buttons ought to show when needed and
allow random access rather than being restricted to only one direction or
the other, even if at the beginning or end of the list.   This is
essentially the 'auto' mode.

I guess this option would make more sense when you do your own paging,
fetching more data dynamically, so you would also manage which buttons
should be enabled.

But this option does work correctly when page buttons are displayed at all,
which is when paging is 'enable'd and pageSize is non-zero.  Both buttons
show, but the disabled buttons are grayed out.  So that might be a good
enough work around for now.  Specify a pageSize that is larger than the
number of rows you have, and only 1 page will be used.

But perhaps there is a different kind of problem involving the latest
release.  The paging buttons are now displayed in a float: left that should
be positioned at the bottom of the chart area, but there may be some
situation in which the height of the chart excludes the paging buttons.
Can you check the HTML directly to see if they are present, but just not
visible?


On Mon, Mar 2, 2015 at 12:42 PM, Frodo Heisenberg <[email protected]>
wrote:

>       function drawTable() {
>      var pageSize = 20;
>      var cssClassNames = {'headerRow': 'goog-visualization-table-tr-head',
>                  'tableRow': 'google-visualization-table-tr-even',
> 'oddTableRow': 'google-visualization-table-tr-odd',
>                  'tableCell':'google-visualization-table-td',
> 'selectedTableRow':'google-visualization-table-tr-sel'};
>         var options = {'showRowNumber': false, 'allowHtml': true,
> 'cssClassNames': cssClassNames};
>         var data = new google.visualization.DataTable();
>         options['page'] = 'enable';
>         options['sort'] = 'enable';
>         options['pageSize'] = pageSize;
>
> *        options['pagingButtonsConfiguration'] = 'auto';*
> ........
>
>
> Now with the new version of Google Visualization API the page numbers
> buttons doesn't appear.
>
> Any solution, please?
>
> Many thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to