Conversation
|
The non-1.13 branch of this code is likely what should land into the |
|
@mixonic do you want me to do any changes? I can help, just let me know, I can help with 3.0 in general as well |
|
@juanazam Thanks for the PR! If you have free cycles this week to work on it, that'd be great. A few thoughts after looking at the code:
I'm happy to keep collaborating on this PR 😄 |
|
@twokul I understand all points listed but the last one You mean renaming sendAction to something else? or something more complex than that? Cheers! |
|
@juanazam I think the following (I am not 100%): this.columnTree = ColumnTree.create({
- sendAction: this.sendAction.bind(this),
+ onSelect: this.onSelect.bind(this),
+ onReorder: this.onReorder.bind(this),
columnMetaCache: this.columnMetaCache,
containerWidthAdjustment: this.containerWidthAdjustment,
});Or this.columnTree = ColumnTree.create({
- sendAction: this.sendAction.bind(this),
+ onSelect: () => this.onSelect?.(),
+ onReorder: () => this.onReorder?.(),
columnMetaCache: this.columnMetaCache,
containerWidthAdjustment: this.containerWidthAdjustment,
}); |
|
@twokul sounds good! suoer busy this week! |
Hello!
Been an ember-table user for quite some time, so I thought it was nice to give back to the community.
Closes #614
Used addon suggested by @pzuraq on the issue.
Kept backwards compatibility for 1.12 users.