Add an event listener for the "page" event and test the page property of 
the event:

google.visualization.events.addListener(visualization, 'page', function (e) 
{
    if (e.page == numberOfPages - 1) {
        // we have reached the last page, make an AJAX call for more data
    }
});

On Tuesday, January 15, 2013 4:29:53 AM UTC-5, Tanya Marinova wrote:
>
> I've gor a big database with over 30 000 rows on my server. I want to make 
> a request to the server giving me the first 100 records and showing them 
> with googlevisualisation table paging api - 10 records per page!!! The 
> problem is that when i show all this 100 records and my next button is 
> disabled i want to make another ajax call to the server giving me the next 
> 100 rows. so is there any way to understand when there are no more records 
> and we are at the last page so i can make ajax call  for anoher 100 
> records. 
>

-- 
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/-/99NAPKjJ8vkJ.
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.

Reply via email to