Skip to content

How to add an append/add column button after the last column? #456

Answered by jassmith
jorenrui asked this question in Q&A
Discussion options

You must be logged in to vote

I have added an example here: 0767cc1

Note that this commit includes a breaking change which is not needed for the effect to work, it just adds more flexibility for me in the future to make these right element items more flexible. In the current API you merely need to make sure at least 1 column has grow: 1 set and that rightElementSticky is false. Then you can implement the button using the correct theme values (I just hardcoded the correct values because demo code).

At the end you get something that looks like this:

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jassmith
Comment options

@jorenrui
Comment options

Answer selected by jorenrui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants