QTable hide pagination controls
-
I know of the
hide-bottom
property for<q-table>
, but when I hide the pagination this way, I loose the"Data not available"
which is a functionality I want. How can I hide only the pagination?
-
@reath Use an empty bottom slot.
<template v-slot:bottom></template>
https://codepen.io/turigeza/pen/gJNYpg
You can also hide the empty bottom slot when you don’t want to see it if data isn’t missing. I added that as well to the same pen. Just remove the
:hide-bottom="emptyData.length > 0"
bit if you don’t need it.