Hi Michał,

There is! You can use the DataTable.sort function. The way you would use
this is like so:

var data = new DataTable(...);
// Set up data table here.

data.sort([{
  column: columnIndex,
  compare: function(a, b)  { return a < b; } // custom sort function goes
here.
}]);

On Tue Dec 09 2014 at 6:26:53 AM Michał Sykutera <[email protected]>
wrote:

> Is there a way to sort DataTable object, using custom sort function?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to