Sorry nope. The string filter looks at either the raw datatable value or its equivalent formattedValue, but it doesn't perform any html parsing on it.
Ideally you'd have to provide one of the two values in such a way for the string filter to be able to operate on it (could you have the html encoded data only in the formattedValue ? ). Alternatively you could expand your datatable by adding to it a generated column that would a contain a "parsed" version of your data (where you replaced " with " and other similar occurrences) for the string filter to operate upon, and then have that column hidden from view in the charts / visualization that are dependent on the stringfilter. - R. On 28 November 2011 14:19, Tanmoy (Cloud Engineering) < [email protected]> wrote: > My raw data in the DataTable is HTML encoded (meaning " is represented > as " and so on). > > If I use a StringFilter ControlWrapper, it does not filter on the " > character, instead it expects user to type " which is > impractical. > > I tried using the useFormattedValue : true option but that does not > work either. > > Is there any way to get StringFilter to filter on the basis of the > displayed characters rather than the raw 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. > > -- 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.
