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

    Using QTh instead of define columns[...] in QTable

    Framework
    2
    3
    197
    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
      maxxiris last edited by

      I want to build a table with tag instead of JSON define (I dont like define JSON for rendering html). So I am try to use q-th. However, I find that I cannot remove columns: [..]. I must define columns for q-th to work.

      Anyway to remove column[..] and just use q-th to define table.

      Tks for any help

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

        @maxxiris you’re probably just need something like this https://quasar.dev/vue-components/markup-table#Introduction. I think columns props is required for QTable.

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

          Tks for your reply

          I need QTable because I am using ajax call (server side data and pagination, filter…).
          If column prop is required. I think it is really confusing when using QTh with Columns. We just need one for control table header, not two

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