No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Q-tree icon styling

    Help
    2
    3
    37
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      reks last edited by

      HI Team,
      Is there any way to add icon after the label name of nodes?
      https://codepen.io/reks_yuv/pen/zYKLBPw?editors=101
      I have highlighted the icons in above pen.

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • M
        Mickey58 last edited by

        To add an icon after the label in the header of a QTree node, you need to use a header v-slot for your q-tree:

        Sample: https://codepen.io/mickey58/pen/wvzYgbO?editors=1010

        Docs: https://quasar.dev/vue-components/tree#Example--Default-header-and-body-slots

        1 Reply Last reply Reply Quote 0
        • R
          reks last edited by

          Thank You @Mickey58

          1 Reply Last reply Reply Quote 0
          • First post
            Last post