I have a google.visualization.Table component that I would like to make dynamic.
More specifically, I would like over time to make changes (add rows, delete rows) to the underlying google.visualization.DataTable and have those reflected in the display. A row to be deleted depends on a (unique) value contained in one of the cells of the corresponding row of the DataTable. When the row is added I can store the corresponding row index associated with the unique identifier which, in turn, can be retrieved if asked to delete the row with same unique identifier. I also want to allow sorting of the table from the UI by clicking on the column headers. If sorting the table makes changes to the structure of the underlying DataTable, my scheme for associating row indices with unique identifiers at the time an element/row is added to the table no longer works. Does sorting a table from the UI by clicking on the column headers modify the underlying DataTable or just the HTML formatted display of the data? -- 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.
