Hi,

I'm having trouble understanding what you mean by adding html code after the
table.

Could you post the entire html page (including the javascript code that
dynamically adds the html as you say) so we can see the problem?

Thanks

- VizBoy.

On Mon, May 11, 2009 at 1:08 PM, BoBKilla <[email protected]> wrote:

>
> Hello,
> I don't know if my subject is understandable but I will try to
> explain.
>
> Actually, I create a Google visualization table using javascript. It
> looks like this :
>
> ================================================
>
> var referenceDiv = document.createElement('div');
>    referenceDiv.style.width = '500px';
>    referenceDiv.id = 'ref';
>
> var data = new google.visualization.DataTable();
>  data.addColumn('string', 'Name');
> data.addRows(1);
> data.setCell(0, 0, "Test");
> var visualization = new google.visualization.Table(referenceDiv);
> visualization.draw(data, null);
> google.visualization.events.addListener(visualization, 'select',
> selectHandler );
>
> ================================================
>
> But after, if I try to add some html code after the table, the table
> doesn't seem to work correctly. The listener doesn't work and i can't
> click on a row (neither sort the column).
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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