ThirdCornerLLC / tc-grid

A declarative grid for AngularJS
MIT License
14 stars 2 forks source link

Need a way to dynamically order columns #28

Closed Zacharias3690 closed 9 years ago

Zacharias3690 commented 9 years ago

I was thinking of adding another option to grid options named "columnOrder" that takes an array with either column names, fields, or indexes and whenever the array changes the grid is updated to match.

Another option for the "columnOrder" field is to change to columnDisplay and not only show columns inside the array, but in the same order as well. This would help clean up our markup which is starting to get a little messy with all the options.