mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 20:06:00 +00:00
SYNC: highlight columne header search controls
This commit is contained in:
committed by
Diflow
parent
9b860a6aa6
commit
0bd7d23114
@@ -23,6 +23,7 @@
|
||||
export let isSortDefined = false;
|
||||
export let allowDefineVirtualReferences = false;
|
||||
export let setGrouping;
|
||||
export let seachInColumns = '';
|
||||
|
||||
const openReferencedTable = () => {
|
||||
openDatabaseObjectDetail('TableDataTab', null, {
|
||||
@@ -86,7 +87,7 @@
|
||||
{grouping == 'COUNT DISTINCT' ? 'distinct' : grouping.toLowerCase()}
|
||||
</span>
|
||||
{/if}
|
||||
<ColumnLabel {...column} />
|
||||
<ColumnLabel {...column} filter={seachInColumns} />
|
||||
|
||||
{#if _.isString(column.displayedDataType || column.dataType) && !order}
|
||||
<span class="data-type" title={column.dataType}>
|
||||
|
||||
@@ -1933,6 +1933,7 @@
|
||||
setGrouping={display.groupable ? groupFunc => display.setGrouping(col.uniqueName, groupFunc) : null}
|
||||
grouping={display.getGrouping(col.uniqueName)}
|
||||
{allowDefineVirtualReferences}
|
||||
seachInColumns={display.config?.searchInColumns}
|
||||
/>
|
||||
</td>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user