Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the number of columns depending on the number of items? #79

Open
afuno opened this issue Oct 27, 2020 · 1 comment
Open

Comments

@afuno
Copy link

afuno commented Oct 27, 2020

How to implement this?

  • 4 columns for 3 or more items
  • 2 columns for 2 items
  • 1 column for 1 item

That is, if I add or delete items from the list, the number of columns should change.

As far as I understand now, the reInit() method does not solve this problem? Can you please tell me how can I implement this?

@lzj666888
Copy link

In this condition, you can edit the source code. While reIniting, assign new options to the old options of macy instance. Just update the options is ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants