Skip to content

Commit d1cccee

Browse files
GalacticWebrstoenescu
authored andcommitted
Added Virtual Scroll event to QTable (quasarframework#5494)
With the event we can include a infinite Scroll logic into the QTable
1 parent be33b03 commit d1cccee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/src/components/table/QTable.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ export default Vue.extend({
264264
items: this.computedRows,
265265
type: '__qtable'
266266
},
267+
on: {
268+
'virtual-scroll': (e) => this.$emit('virtual-scroll', e)
269+
},
267270
class: this.tableClass,
268271
style: this.tableStyle,
269272
scopedSlots: {

0 commit comments

Comments
 (0)