I'm sorry, but the library does not allow manipulating (formatted) values in DataViews. The only option is indeed going through a new data table.
On Sat, Jun 25, 2011 at 12:43 AM, Eduardo <[email protected]> wrote: > I have seen this in a couple of messages in the forum: how to format a > calculated column in a DataView. > > It would seem like this is a very common use case. The ability of > creating calculated columns is great, but not as useful if you cannot > format those calculated columns to show them to the user. > > The suggested workaround is to make a DataTable from the DataView, and > format that. This works, but is very expensive for large datasets. In > my case this is taking nearly 90% of the time of execution of some > simple javascript that computes the price/m2 (the calculated column) > of some realestate. > > Is there really no other way to do this? And if so, are there any > plans to provide this feature in upcoming releases? It really seems > like a central feature, formatting calculated columns. > > Thanks, > > Eduardo. > > -- > 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.
