loicfrering / backbone.datagrid

A powerful component, based on Backbone.View, that displays your Backbone collections in a dynamic datagrid table.
http://loicfrering.github.io/backbone.datagrid/
MIT License
55 stars 14 forks source link

Passing sort options at initialization #32

Open jripault opened 10 years ago

jripault commented 10 years ago

It could be interesting passing sort parameters at datagrid initialization. Actually, it works by rendering the datagrid, hence doing a server query, then activate a sort that does another query. Passing a kind of sort parameters at initialization time would be nice to avoid this useless query