quasar icon indicating copy to clipboard operation
quasar copied to clipboard

QTree feature requests summary

Open pdanpdan opened this issue 4 years ago • 10 comments

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~

pdanpdan avatar May 05 '20 10:05 pdanpdan

I call elephant in the room :-) Please, please add drag'n'drop support to QTree...

qyloxe avatar May 20 '20 14:05 qyloxe

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

stgunholy avatar May 24 '20 21:05 stgunholy

any updates on this?

JokerMartini avatar Sep 09 '21 04:09 JokerMartini

These enhancements would greatly benefit my use cases for QTree (in particular #6493). Are updates coming?

othalan avatar May 16 '22 22:05 othalan

I'm wondering the same. i haven't seen any updates on the treeview stuff in quite some time.

JokerMartini avatar May 17 '22 12:05 JokerMartini

Hote add drag'n'drop support to QTree...

fyeeme avatar Jun 08 '22 13:06 fyeeme

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?

Carpediem94 avatar Jul 28 '22 15:07 Carpediem94