I have same problem. Did you solve it?
O
Latest posts made by Oliver_Max
-
1 QTable and 3 QSearch
Hello everyone.
(I apologize in advance for my English).I have one QDataTable with 5 columns, and for first three columns i have 3 QSearch (type, name, info).
But QTable has only one :filter=“filter”.
How can I specify by what column should the QSearch look for?
I need that first QSearch search in first column of QTable and etc.It’s looks like that:
<q-table :data="dishes" :columns="columns" row-key="name" :filter="filter" > <q-tr slot="top-row" slot-scope="props"> <q-td> <q-search no-icon //search in type column type="text" v-model="filter" /> </q-td> <q-td> <q-search no-icon //search in name column type="text" v-model="filter" /> </q-td> <q-td> <q-search no-icon //search in info column type="text" v-model="filter" /> </q-td> </q-tr>
Now QSearch search by name