Friday, December 2, 2011

Re: Is there any way I can add a Chart widget into cells in a celltable?

Thanks a bunch for pointing to the image charts, which seems quite promising for solving my problem. 

The reason I was trying to add a widget to the cell is I want to embed a chart created by Google Chart Tools into my cell table, and the chart created by Google Chart Tools is in the form of a widget, which will eventually be rendered as an iframe with embeded js. 

I will take a look at the image charts and report back. Thanks!

-Jian

On Thu, Dec 1, 2011 at 11:19 PM, -sowdri- <sowdri@gmail.com> wrote:
Cells and widgets are 2 different ways to render info on the screen. While the former uses innerHtml, the later uses DOM level manipulations for rendering the data. 

There is a proposal to come up with cell backed widgets, I'm not sure about the implementation roadmap.

I'm not sure why you are trying to embed widget in cell table. But if you really have to do it, try image charts (http://code.google.com/apis/chart/image/ ). You can create custom cells for each of the chart type you use and you can embed this into the celltable. 

But you will lose the interactivity though :(

Hope this helps,
-sowdri-

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/4vFFCJpHv74J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment