Please have a look at the new configuration options of the table, which
provide this request.You can specify the initial sort column and order.

VizGuy



On Thu, Nov 13, 2008 at 3:12 PM, Fionnuala Gibney <
[EMAIL PROTECTED]> wrote:

>
> Excellent I'd love to see this also.
>
> 2008/11/13 VizGuy <[EMAIL PROTECTED]>:
> > This makes sense.
> > We will look into it.
> > VizGuy
> >
> >
> > On Thu, Nov 13, 2008 at 9:38 AM, JustinK101 <[EMAIL PROTECTED]>
> wrote:
> >>
> >> Is there a way to upfront explicitly say which column should be sorted
> >> (asc or desc) by default on load of a DataTable? It should also, show
> >> the arrow under that column as well, so users know which column is
> >> sorted by default.
> >>
> >> I thinking a property work work nicely:
> >>
> >> table.draw(data, {
> >>                                                sort: 'enable',
> >>                                                allowHTML: false,
> >>                                                showRowNumber: false,
> >>                                                page: 'enable',
> >>                                                pageSize: 15,
> >>                                                defaultColumnSort: 0,
> >>
> >> defaultColumnSortOrder: 'asc'
> >>                                        });
> >>
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to