Hi,
I have Tables displaying data from a DataTable that is updated
periodically. In my table options, I have:
wrap.setOptions({
allowHtml:true
,sortColumn:1
,sortAscending:false
,page:'disable'
});
The sort works fine, and when the data in the DataTable is updated and
the MyWrapper.draw() method called, the Table updates properly,
maintaining correct sort order.
But if I add a bar formatter to column 1, the sorting works when the
table is initially displayed but does not work after updates to the
table are made. Even resetting the options using:
wrap.setOption('sortAscending',false);
wrap.setOption('sortColumn',1);
didn't work. It seems as if the sort method is looking at the data in
the bars, not at the actual values.
Furthermore, the bar formatter isn't applied to rows added to the
table.
In fact, I ran a few other tests and it seems as if the bar formatter
just doesn't work properly when the underlying DataTable is updates.
Can someone confirm? I'm not sure if this is a new bug or not, as I
just began testing this feature a few minutes ago...
--
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.