aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-13 01:19:46 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-13 01:19:46 -0400
commitbd3170d3834c6ef9933813afc42f69df044d055b (patch)
treebc80f8e650133c7e47553399aa7418e265a7e5f2 /src/client/views/collections/collectionSchema/SchemaRowBox.tsx
parent60a4ccfe2ab6337c064da8a303336f1872f5e9a6 (diff)
cell highlighting from equations WORKS!
Diffstat (limited to 'src/client/views/collections/collectionSchema/SchemaRowBox.tsx')
-rw-r--r--src/client/views/collections/collectionSchema/SchemaRowBox.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
index f6d99b47e..4902a49ff 100644
--- a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
+++ b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
@@ -121,7 +121,7 @@ export class SchemaRowBox extends ViewBoxBaseComponent<SchemaRowBoxProps>() {
setColumnValues = (field: any, value: any) => this.schemaView?.setCellValues(field, value) ?? false;
columnWidth = computedFn((index: number) => () => this.schemaView?.displayColumnWidths[index] ?? CollectionSchemaView._minColWidth);
computeRowIndex = () => this.schemaView?.rowIndex(this.Document);
- findCellRefs = (text: string) => this.schemaView?.findCellRefs(text);
+ highlightCells = (text: string) => this.schemaView?.highlightCells(text);
render() {
return (
<div
@@ -164,7 +164,7 @@ export class SchemaRowBox extends ViewBoxBaseComponent<SchemaRowBoxProps>() {
<div className="row-cells">
{this.schemaView?.columnKeys?.map((key, index) => (
<SchemaTableCell
- getCellRefs={this.findCellRefs}
+ highlightCells={this.highlightCells}
isolatedSelection={this.isolatedSelection}
key={key}
rowSelected={this._props.isSelected}