add table styles

This commit is contained in:
2017-08-29 21:47:25 +02:00
parent a759e65ead
commit 7cd9501f3d
10 changed files with 264 additions and 165 deletions

View File

@@ -1,7 +1,11 @@
<template>
<div class="Scroll-Table">
<my-input label="Suche:" type="text" @change="searchChanged" v-model="currentSearch"></my-input>
<my-table :columns="columns" :rows="rows" @sort="sort"></my-table>
<my-table :columns="columns" :rows="rows"
:currentOrderBy="currentOrderBy"
:currentOrderDesc="currentOrderDesc"
@sort="sort">
</my-table>
<div v-if="loadingDelayed">loading...</div>
<div style="padding-left: 30%; padding-bottom: 100px;">
<span v-show="hasMore || reloadTriggered" v-if="!loadingDelayed" v-observe-visibility="visibilityChanged">...</span>
@@ -113,7 +117,7 @@ export default {
this.rows.push(row);
setTimeout(() => {
this.pushRows();
}, 50);
}, 20);
}
},
clear() {