Skip to content

Commit fe8b874

Browse files
authored
fix: allow input table to delete row with null key (#2386) (#2387)
https://deephaven.atlassian.net/browse/DH-18681 Cherry pick back for Grizzly.
1 parent e6aa12b commit fe8b874

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/iris-grid/src/IrisGridTableModel.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -415,11 +415,7 @@ class IrisGridTableModel
415415
for (let c = 0; c < keyColumns.length; c += 1) {
416416
const column = keyColumns[c];
417417
const value = row[c];
418-
const filterValue = this.tableUtils.makeFilterRawValue(
419-
column.type,
420-
value
421-
);
422-
const filter = column.filter().eq(filterValue);
418+
const filter = this.tableUtils.makeNullableEqFilter(column, value);
423419
columnFilters.push(filter);
424420
}
425421
return columnFilters.reduce((agg, curr) => agg?.and(curr) ?? curr);

0 commit comments

Comments
 (0)