Using QTh instead of define columns[...] in QTable
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
Anyway to remove
column[..]and just use
q-thto define table.
Tks for any help
metalsadman last edited by
@maxxiris you’re probably just need something like this https://quasar.dev/vue-components/markup-table#Introduction. I think
columnsprops is required for QTable.
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