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 removecolumns: [..]
. I must define columns forq-th
to work.Anyway to remove
column[..]
and just useq-th
to define table.Tks for any help
-
@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. -
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