File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
dev/components/components Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div class =" q-layout-padding" >
3+ <q-toggle v-model =" dense" label =" Dense" />
34 <h4 >Emulate server-side</h4 >
45 {{ serverPagination }}
56 <q-table
1718 :loading =" loading"
1819 flat
1920 bordered
21+ :dense =" dense"
2022 >
2123 <template v-slot :top-right =" props " >
2224 <q-input borderless dense debounce =" 300" v-model =" filter" placeholder =" Search" >
@@ -437,6 +439,7 @@ const data = [
437439export default {
438440 data () {
439441 return {
442+ dense: false ,
440443 filter: ' ' ,
441444 filterDyn: ' ' ,
442445 serverPagination: {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default Vue.extend({
1414
1515 render ( h ) {
1616 if ( this . props === void 0 ) {
17- return h ( 'td ' , {
17+ return h ( 'th ' , {
1818 class : this . autoWidth === true ? 'q-table--col-auto-width' : null
1919 } , slot ( this , 'default' ) )
2020 }
You can’t perform that action at this time.
0 commit comments