ember-light-table
ember-light-table copied to clipboard
Draggable rows
Hi, is there any chance to make draggable rows? For now, I think we need to completely rewrite lt-row
component for this.
Generally open to the idea. I think we could even squeeze this into an add-on.
Do you have some wishes for the API design or specific requirements? I'd love to hear about your use case.
I think this is a pretty naive approach but I needed something quick and dirty and I'm not too familiar with Ember (yet). mixin/draggable-row gist
It's all stolen from the draggable-column
mixin :)
It's not tested and I'm using it in a pretty limited way but it does work.
@cmackenz can you published somewhere example with mixin/draggble-row ? I add this mixin to my component, but it didn't work.