Skip to content

Send swapping columns to outer controller.#469

Merged
billy-addepar merged 2 commits intomasterfrom
billy/column-swap-event
Dec 19, 2017
Merged

Send swapping columns to outer controller.#469
billy-addepar merged 2 commits intomasterfrom
billy/column-swap-event

Conversation

@billy-addepar
Copy link
Copy Markdown
Contributor

This might be useful to let controller know when 2 columns have been swapped as in case controller wants to load new data or update table view.

@billy-addepar
Copy link
Copy Markdown
Contributor Author

@Addepar/ice

Copy link
Copy Markdown
Contributor

@pzuraq pzuraq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good API to have. The name may not be very clear, it may make more sense to have it be called onColumnReorder instead since swapping has the connotation of two element swapping places, and in this case we're just moving one column around, but I don't want to hold it up on bikeshedding

@billy-addepar
Copy link
Copy Markdown
Contributor Author

The name onColumnReordered is actually better and avoid confusion.

@billy-addepar billy-addepar merged commit 8e2a7bd into master Dec 19, 2017
@cyril-sf cyril-sf deleted the billy/column-swap-event branch December 19, 2017 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants