adopted-ember-addons / ember-light-table

Lightweight, contextual component based table for Ember
http://adopted-ember-addons.github.io/ember-light-table/
MIT License
312 stars 131 forks source link

Template based column definitions #474

Open buschtoens opened 7 years ago

buschtoens commented 7 years ago

Column definitions were put into JS land, because Ember and Handlebars lacked some important features regarding flexibility and composability. But the landscape is slowly shifting towards a shiny new future with one major advancement being the fantastic Named Blocks RFC 226 by @machty. :sunny: :sparkles:

The ultimate goal is to remove the need for the columns array and instead define the columns in the template. Maybe we'll also be able to remove the need for Table objects.

This issue is meant to serve as a brain dump and constant reminder. If you have ideas, wishes, questions or anything else related to this, please do add a comment! :blush:

ming-codes commented 7 years ago

It's a good idea, but I would imagine the feature needs to exist side-by-side with data-driven column definition. How else can you persist the column reordering?