Skip to content

Commit

Permalink
✨ Feat(CGIDataTable/CGIDataTableServer): Adiciona prop hide-default-f…
Browse files Browse the repository at this point in the history
…ooter
  • Loading branch information
JacksonSantin committed May 31, 2024
1 parent 8c0dd2d commit 38b6362
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cids/lib/components/CGIDataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
]"
:show-select="showSelect"
:row-props="habilitaLinhaSelecionada"
:hide-default-footer="!mostraPaginacao"
:mobile="isMobile"
:fixed-header="colunasFixas"
@click:row="rowClick"
Expand Down Expand Up @@ -171,6 +172,7 @@ const props = defineProps({
informacoesDaPesquisa: { type: String, default: () => null },
altura: { type: String, default: () => "100vh" },
colunasFixas: { type: Boolean, default: () => true },
mostraPaginacao: { type: Boolean, default: () => true },
itensPorPagina: { type: Number, default: () => 30 },
totalItens: { type: Number, default: () => 100 },
carregar: { type: Boolean, default: () => false },
Expand Down
2 changes: 2 additions & 0 deletions cids/lib/components/CGIDataTableServer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
]"
:show-select="showSelect"
:row-props="habilitaLinhaSelecionada"
:hide-default-footer="!mostraPaginacao"
:mobile="isMobile"
@update:options="updateOptions"
@click:row="rowClick"
Expand Down Expand Up @@ -189,6 +190,7 @@ const props = defineProps({
informacoesDaPesquisa: { type: String, default: () => null },
altura: { type: String, default: () => "100vh" },
colunasFixas: { type: Boolean, default: () => true },
mostraPaginacao: { type: Boolean, default: () => true },
itensPorPagina: { type: Number, default: () => 30 },
totalItens: { type: Number, default: () => 100 },
carregar: { type: Boolean, default: () => false },
Expand Down

0 comments on commit 38b6362

Please sign in to comment.