dataTable.setRowProperties(0, {'hello': 'world'});
var rowProperties = dataTable.getRowProperties(0);The getRowProperties() method does not return the data in the cells. It only returns whatever you passed in when you called setRowProperties(). The DataTable class allows the user to set "custom properties" on elements of the table: columns, rows, cells, and the table itself. This allows an application to dynamically extend the DataTable API and attach arbitrary data structures to a DataTable. It might be useful for servers that want to "annotate" the DataTable with extra information that doesn't fit neatly into columns and rows. On Mon, Nov 14, 2011 at 9:04 PM, NA <[email protected]> wrote: > I'm not understanding asgallant's or MC Get Vizzy's comments. In > fact, it seems like you're talking about getValue() but I'm talking > about getRowProperties(). > > There's a method called getRowProperties documented here: > > > http://code.google.com/apis/chart/interactive/docs/reference.html#DataTable_getRowProperties > > The signature is getRowProperties(rowIndex). The output of this > method is an object. But when I tried to use this method, I didn't > get the response I expected to see. > > Can someone show me how to use that method? > > -- > 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. > > -- 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.
