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

    Table bottom slot / columns

    Help
    2
    6
    983
    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.
    • M
      Martin F last edited by

      Hello,
      I would like to implement a total row at the bottom under the column which is summed up and at the same time using virtualization. Therefore I need the option to have in
      template v-slot:bottom
      a div aligned with the column. Is there a way to do this?

      Bottom row seems not to work because of the virtualization, which I need because of many rows…

      https://codepen.io/martinfruehmorgen/pen/WNbZEyq
      Thanks!
      Martin

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        QTable’s virtual scroll feature isn’t made to do that, with more than likely the logic being, nobody will scroll to the bottom to see the totals of a very large data set.

        Couldn’t you set up the bottom slot to show the totals as you’ve already started?

        Scott

        1 Reply Last reply Reply Quote 0
        • M
          Martin F last edited by

          Hi Scott,

          thanks! Yes, I would like to set it up by using the bottom slot – but I need to align it below the column for which I would like to have the total… It would be the easiest to have the props also in the bottom slot, but I think that is not possible?

          Martin

          1 Reply Last reply Reply Quote 0
          • s.molinari
            s.molinari last edited by

            It would just take a good bit of formatting to have the totals stay under the columns. But for sure it’s possible.

            Scott

            1 Reply Last reply Reply Quote 0
            • M
              Martin F last edited by

              Hello,

              could anybody point me into the right direction regarding the formatting?

              Thanks,
              Martin

              1 Reply Last reply Reply Quote 0
              • s.molinari
                s.molinari last edited by

                Try creating a one row table with the same classes the table rows above use? Maybe?

                Scott

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