This commit is contained in:
2020-01-29 23:24:52 +00:00
parent 3b08b00fed
commit 1f5236f125
2 changed files with 8 additions and 2 deletions

View File

@@ -151,7 +151,8 @@ export default {
"Copy", "Copy",
"Tags", "Tags",
"Customize", "Customize",
"ObjectCustomFieldCustomGrid" "ObjectCustomFieldCustomGrid",
"RowsPerPage"
], ],
decimalValidate(required) { decimalValidate(required) {
return { required: required, decimal: [2, this.format().decimalSeparator] }; return { required: required, decimal: [2, this.format().decimalSeparator] };

View File

@@ -8,6 +8,10 @@
:server-items-length="totalRecords" :server-items-length="totalRecords"
:loading="loading" :loading="loading"
:disable-sort="true" :disable-sort="true"
:footer-props="{
itemsPerPageOptions: rowsPerPageItems,
itemsPerPageText: lt('RowsPerPage')
}"
class="elevation-1" class="elevation-1"
></v-data-table> ></v-data-table>
<!-- <hr /> <!-- <hr />
@@ -37,7 +41,8 @@ export default {
options: {}, options: {},
headers: [], headers: [],
totalRecords: 0, totalRecords: 0,
records: [] records: [],
rowsPerPageItems: [5, 10, 25, 50, 100]
}; };
}, },
props: { props: {