You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using q-table, if a non-visible column is used to sort, (using visible-columns), initial pagination sorting does not work. Making the column visible, and the sort works.
When using q-table, if a non-visible column is used to sort, (using visible-columns), initial pagination sorting does not work. Making the column visible, and the sort works.
eg
data () {
return {
pagination: {
sortBy: 'isownconsignment', // String, column "name" property value
descending: true,
page: 1,
rowsPerPage: 5 // current rows per page being displayed
},
visiblecolumns: ['pn','description','warehouse','condition_code','qty_oh','unit_price'],
columns: [
{
name: 'isownconsignment',
field: 'is_own_consignment',
sortable: true,
label: 'consignment'
},
{
name: 'pn',
label: 'PN',
field: 'pn',
sortable: true,
align: 'left'
}, ................
The text was updated successfully, but these errors were encountered: