webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
796 stars 271 forks source link

added EditableGrid.prototype.sortColumns #79

Closed JEinOKC closed 9 years ago

JEinOKC commented 9 years ago

The EditableGrid.prototype.sortColumns allows you to pass in an array of headers and it will resort the grid. I used this to mix with a column sorting library so that the EditableGrid would not break after the sort happened.

It does not implement all functionality, such as calling back to the server on change, but I wanted to pass this along if it's at all useful to the project