You can add whatever HTML you like to any cell in the table. In your case add the formatted value string '<input type="button" value="my button" />' to the requested cell.
Note: in order for the html to be used as is you need to set the options allowHtml to true. HTH ChartMan On Tue, Jan 11, 2011 at 6:43 AM, Benny <[email protected]> wrote: > I am using the visualization table in GWT (packaged as > com.google.gwt.visualization.client.visualizations.Table). As usual, I > am using DataTable to add the columns and rows to the table. In my > design, I have a button that needs to be added on each row. However, I > do not see an option on DataTable to add a button value to a cell. Is > there any other way to do it? All the examples I have looked at for > Table do not have any widget added (radio button, drop down etc.). If > it is at all possible, I would appreciate if someone can post an > example. > > -- > 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]<google-visualization-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > > -- 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.
