Browse Source

Add back in Grid to backend UI

master
Andrew Kingston 6 years ago
parent
commit
1b8f2067e4
  1. 16
      packages/builder/src/components/backend/DataTable/Table.svelte

16
packages/builder/src/components/backend/DataTable/Table.svelte

@ -1,7 +1,7 @@
<script> <script>
import { fade } from "svelte/transition" import { fade } from "svelte/transition"
import { goto, params } from "@roxi/routify" import { goto, params } from "@roxi/routify"
// import AgGrid from "@budibase/svelte-ag-grid" import AgGrid from "@budibase/svelte-ag-grid"
import api from "builderStore/api" import api from "builderStore/api"
import { notifier } from "builderStore/store/notifications" import { notifier } from "builderStore/store/notifications"
@ -165,13 +165,13 @@
</div> </div>
<div class="grid-wrapper"> <div class="grid-wrapper">
{#key columnDefs.length} {#key columnDefs.length}
<!-- <AgGrid--> <AgGrid
<!-- {theme}--> {theme}
<!-- {options}--> {options}
<!-- {data}--> {data}
<!-- {columnDefs}--> {columnDefs}
<!-- {loading}--> {loading}
<!-- on:select={({ detail }) => (selectedRows = detail)} />--> on:select={({ detail }) => (selectedRows = detail)} />
{/key} {/key}
</div> </div>

Loading…
Cancel
Save