perspective filters control

This commit is contained in:
Jan Prochazka 2022-07-24 21:17:52 +02:00
parent 857185a78b
commit 3e91ecd141
2 changed files with 10 additions and 2 deletions

View File

@ -23,8 +23,8 @@
export let filter;
export let setFilter;
export let showResizeSplitter = false;
export let onFocusGrid;
export let onGetReference;
export let onFocusGrid = null;
export let onGetReference = null;
export let foreignKey = null;
export let conid = null;
export let database = null;

View File

@ -14,6 +14,7 @@
import PerspectiveIntersectionObserver from './PerspectiveIntersectionObserver.svelte';
import debug from 'debug';
import contextMenu from '../utility/contextMenu';
import DataFilterControl from '../datagrid/DataFilterControl.svelte';
const dbg = debug('dbgate:PerspectivaTable');
@ -170,6 +171,13 @@
{/each}
</tr>
{/each}
<!-- <tr>
{#each display.columns as column}
<th>
<DataFilterControl filter="" setFilter={null} columnName={column.dataNode.codeName} filterType="string" />
</th>
{/each}
</tr> -->
</thead>
<tbody>
{#each display.rows as row}