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