mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 10:16:03 +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 isSortDefined = false;
|
||||||
export let allowDefineVirtualReferences = false;
|
export let allowDefineVirtualReferences = false;
|
||||||
export let setGrouping;
|
export let setGrouping;
|
||||||
|
export let seachInColumns = '';
|
||||||
|
|
||||||
const openReferencedTable = () => {
|
const openReferencedTable = () => {
|
||||||
openDatabaseObjectDetail('TableDataTab', null, {
|
openDatabaseObjectDetail('TableDataTab', null, {
|
||||||
@@ -86,7 +87,7 @@
|
|||||||
{grouping == 'COUNT DISTINCT' ? 'distinct' : grouping.toLowerCase()}
|
{grouping == 'COUNT DISTINCT' ? 'distinct' : grouping.toLowerCase()}
|
||||||
</span>
|
</span>
|
||||||
{/if}
|
{/if}
|
||||||
<ColumnLabel {...column} />
|
<ColumnLabel {...column} filter={seachInColumns} />
|
||||||
|
|
||||||
{#if _.isString(column.displayedDataType || column.dataType) && !order}
|
{#if _.isString(column.displayedDataType || column.dataType) && !order}
|
||||||
<span class="data-type" title={column.dataType}>
|
<span class="data-type" title={column.dataType}>
|
||||||
|
|||||||
@@ -1933,6 +1933,7 @@
|
|||||||
setGrouping={display.groupable ? groupFunc => display.setGrouping(col.uniqueName, groupFunc) : null}
|
setGrouping={display.groupable ? groupFunc => display.setGrouping(col.uniqueName, groupFunc) : null}
|
||||||
grouping={display.getGrouping(col.uniqueName)}
|
grouping={display.getGrouping(col.uniqueName)}
|
||||||
{allowDefineVirtualReferences}
|
{allowDefineVirtualReferences}
|
||||||
|
seachInColumns={display.config?.searchInColumns}
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
Reference in New Issue
Block a user