quasar
quasar copied to clipboard
QTree feature requests summary
Extract and make public functions to:
- [ ] get node parents - https://github.com/quasarframework/quasar/issues/5642
- [ ] get node children - https://github.com/quasarframework/quasar/issues/5642
- [ ] toggle node and children - https://github.com/quasarframework/quasar/issues/7052
- [ ] unload lazy loaded nodes - https://github.com/quasarframework/quasar/issues/6950
- [ ] expand all parents of node - https://github.com/quasarframework/quasar/issues/6894
- [ ] autoload expanded lazy nodes - https://github.com/quasarframework/quasar/issues/4751
Customize node styles/classes
- [ ] https://github.com/quasarframework/quasar/issues/1827
- [ ] https://github.com/quasarframework/quasar/issues/6493
Customize node props
- [x] https://github.com/quasarframework/quasar/issues/6661 (PR https://github.com/quasarframework/quasar/pull/7056)
NOFIX
- [ ] ~Add
no-nodes
slot - https://github.com/quasarframework/quasar/issues/6683~ - [ ] ~Empty header should not take space - https://github.com/quasarframework/quasar/issues/4889~
I call elephant in the room :-) Please, please add drag'n'drop support to QTree...
I call elephant in the room :-) Please, please add drag'n'drop support to QTree...
I submitted PR for this looong time ago, was not noticed, so I am just keeping my own q-tree fork in my codebase. there is not so much core there really
any updates on this?
These enhancements would greatly benefit my use cases for QTree (in particular #6493). Are updates coming?
I'm wondering the same. i haven't seen any updates on the treeview stuff in quite some time.
Hote add drag'n'drop support to QTree...
Hi, I'm not sure this is the right place for this question, but is relevant to a problem with QTree.
I there a way to make QTree always expanded, without arrow in the headers and headers not interactive (but not disabled)? Moreover when I add new nodes dynamically I want they are added expanded.
I try to make all nodes expandable: false
and add default-expand-all
to tree but all the nodes are closed when I create the tree.
Now I do an horrible workaround where I set the parent expandable: true
, then I call treeRef.value.expandAll()
and at the end I reset parent to expandable: false
. Moreover I hidden the arrow using CSS.
I apply this workaround when I initialize the tree or when I add new node with children.
Is there already a "legal" way to achieve this? Or could be a useful feature for other people?