Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Does this component support collapse functionality in columns? #7

Open
rgabs opened this issue Jan 26, 2017 · 3 comments
Open

Does this component support collapse functionality in columns? #7

rgabs opened this issue Jan 26, 2017 · 3 comments
Labels

Comments

@rgabs
Copy link

rgabs commented Jan 26, 2017

First of all, this component is really good. Thank you for it.
I saw an option in column-options called expand but I am not able to figure out how to use it. Can you explain the use of expand option in column?

@maheshsenni
Copy link
Owner

Thank you for the kind words.

By default, the expand/collapse icon appears in the first column of the tree list. There could be cases where you would want the icon to be displayed in a different column and that is what expand option does.

I have updated one of the demos to use this option. Is this what you are expecting?

Demo

@rgabs
Copy link
Author

rgabs commented Jan 27, 2017

Got it. Thank you for the quick reply.
However, in my case the requirment is to have both collapsible rows and columns.
I am thinking of changing the data to make the columns collapsible. Thoughts?

@maheshsenni
Copy link
Owner

I am afraid, changing the configuration would be the only possible way to do it right now. I had plans to add a column menu which would provide controls for adding/removing columns, but couldn't find time to implement it.

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

No branches or pull requests

2 participants