You would have to implement custom sorting instead of the default sorting.
Set the "sort" option to event to have the API throw a "sort" event when a
user clicks the header instead of sorting the table. If you use this, you
will have to perform all sorting manually and redraw the table with the
newly sorted data.
On Thursday, January 10, 2013 1:12:52 PM UTC-5, Shuhao wrote:
>
> Thanks! That worked.
>
> Also do we know how to make sure that sorting puts the values with null
> at the bottom of the table no matter which direction you sort (or at
> least make its value to be +inf and rather than -inf as currently stands)
>
> Thanks,
>
> Shuhao
>
> On 13-01-10 12:53 PM, asgallant wrote:
> > Set the "page" option to "enable", not true.
> >
> > On Thursday, January 10, 2013 11:36:42 AM UTC-5, Shuhao wrote:
> >>
> >> The paging control doesn't seems to work for me. Any idea why that
> would
> >> happen? Here's the code to draw the table:
> >>
> >> table.draw(datatable, {allowHtml: true, page: true, pageSize:
> 50})
> >>
> >> The page control is there, the table draws fine and the sorting is
> fine,
> >> but the pressing next page doesn't work.
> >>
> >>
> >
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/1SeCeeD7tewJ.
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.