Hi Bill,

You can use the 'ready' event to alert you that any visualization
(including Table) has finished rendering. Here is an example of doing that:
http://jsfiddle.net/cond05ko/

On Fri, Apr 1, 2016 at 8:36 AM Bill Bohling <bgbohl...@gmail.com> wrote:

> I'm occasionally experiencing a lag when initializing a new table with:
>
> table = new 
> google.visualization.Table(document.getElementById('google-chart'));
>
>
> To fix that I want to use a jQuery Deferred, so I'm trying to find a table
> callback that the table has loaded to tell me when I can resolve my
> Deferred:
>
> var tableDeferred = $.Deferred();
>
> table = new 
> google.visualization.Table(document.getElementById('google-chart'));
>
> table.<callback indicating table has loaded> = function() {
>   tableDeferred.resolve()
> }
>
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to
> google-visualization-api@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/71c549d8-ff63-447d-9054-ce8087a0ab86%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/71c549d8-ff63-447d-9054-ce8087a0ab86%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc•
gra...@google.com <gra...@google.com>*

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAEwwup5s4oGbybMC%2B%3Do7JYNU%3D-5XMhUEwsKsAJVudHnKqjjenA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to