File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,15 @@ Our component parameters:
211
211
hideFooter: {
212
212
type: Boolean
213
213
},
214
+ /**
215
+ * true to hide the tfoot of the table
216
+ *
217
+ * @type Boolean
218
+ */
219
+ hideTfoot: {
220
+ type: Boolean ,
221
+ default: true
222
+ },
214
223
/**
215
224
* true to hide the individual column search of the table
216
225
*
Original file line number Diff line number Diff line change 37
37
</tr >
38
38
</thead >
39
39
<tfoot
40
- v-if =" !hideFooter "
40
+ v-if =" !hideTfoot "
41
41
:class =" tfootClassName"
42
42
>
43
43
<tr >
@@ -187,6 +187,15 @@ export default {
187
187
hideFooter: {
188
188
type: Boolean
189
189
},
190
+ /**
191
+ * true to hide the tfoot of the table
192
+ *
193
+ * @type Boolean
194
+ */
195
+ hideTfoot: {
196
+ type: Boolean ,
197
+ default: true
198
+ },
190
199
/**
191
200
* true to hide the individual column search of the table
192
201
*
@@ -313,6 +322,10 @@ export default {
313
322
col .template = field .template
314
323
}
315
324
325
+ if (field .render ) {
326
+ col .render = field .render
327
+ }
328
+
316
329
// console.log(col)
317
330
cols .push (col)
318
331
You can’t perform that action at this time.
0 commit comments