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-table not showing manually generated columns in grid mode

    Framework
    q-table
    2
    6
    679
    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.
    • F
      firibz last edited by

      Hi, I have a table with some action buttons, I want the table to be like a grid in sm screens and I am using :grid="$q.screen.lt.sm", but action buttons are disappearing in the grid view, how can I have a grid view of tables with that action buttons?

      code sandbox example:

      https://codesandbox.io/s/grid-view-with-action-buttons-iq3jh

      metalsadman 1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman @firibz last edited by metalsadman

        @firibz action buttons on row doesn’t get auto generated when you change view. look for slot item instead.
        https://codepen.io/metalsadman/pen/dyGovWL

        F 2 Replies Last reply Reply Quote 1
        • F
          firibz last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • F
            firibz @metalsadman last edited by

            @metalsadman said in q-table not showing manually generated columns in grid mode:

            @firibz action buttons on row doesn’t get auto generated when you change view. look for slot item instead.
            https://codepen.io/metalsadman/pen/dyGovWL

            wo0ow, thank you indeed @metalsadman ❤

            1 Reply Last reply Reply Quote 0
            • F
              firibz @metalsadman last edited by

              @metalsadman said in q-table not showing manually generated columns in grid mode:

              @firibz action buttons on row doesn’t get auto generated when you change view. look for slot item instead.
              https://codepen.io/metalsadman/pen/dyGovWL

              just one more question, can I use slot “item” to override only one column in the grid view? am I have to write the whole card?

              metalsadman 1 Reply Last reply Reply Quote 0
              • metalsadman
                metalsadman @firibz last edited by

                @firibz you will have to write the whole unfortunately, like what’s in the example you can loop for columns that will have a generic look.

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