innoboxrr-vue-datatable 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innoboxrr-vue-datatable",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Datatable para vue3",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/DataTable.vue CHANGED
@@ -131,6 +131,7 @@
131
131
  :actions="hasActions"
132
132
  :data-table="dataTable"
133
133
  :extra-params="extraParams"
134
+ :show-table-header="showTableHeader"
134
135
  @sortColumn="sortColumn"
135
136
  @actionButtonClicked="actionButtonClicked"
136
137
  @actionClicked="actionClicked" />
@@ -240,6 +241,11 @@
240
241
  cardWrapper: {
241
242
  type: Boolean,
242
243
  default: true
244
+ },
245
+
246
+ showTableHeader: {
247
+ type: Boolean,
248
+ default: true,
243
249
  }
244
250
 
245
251
  },
@@ -4,7 +4,7 @@
4
4
 
5
5
  <table class="uk-table uk-table-divider">
6
6
 
7
- <thead>
7
+ <thead v-if="showTableHeader">
8
8
 
9
9
  <tr>
10
10
 
@@ -140,6 +140,11 @@
140
140
  default: {}
141
141
  },
142
142
 
143
+ showTableHeader: {
144
+ type: Boolean,
145
+ default: true,
146
+ }
147
+
143
148
  },
144
149
 
145
150
  emits: ['sortColumn', 'actionButtonClicked', 'actionClicked'],