Skip to content

Commit b6edd2d

Browse files
authored
fix: DH-21696: Fixed broken frozen columns (#2649)
DH-21696: A default prop value was changed from `null` to `EMPTY_ARRAY` in https://github.com/deephaven/web-client-ui/pull/2527/changes#diff-ba5d5bc0271a84729ec1bd28c11b7e1f05b3e71e4015c0bea863b4bf52b85bd8R544 . This was breaking a coalesce in `IrisGridTableModel.getMemoizedFrozenColumns()`. Fix was to set default to `undefined` ## Testing Freezing columns via dh.ui should actually freeze the columns: ```py from deephaven import ui import deephaven.plot.express as dx t1 = dx.data.stocks() t2 = ui.table( t1, frozen_columns=["Sym", "Exchange"] ) ```
1 parent 282c234 commit b6edd2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/iris-grid/src/IrisGrid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ class IrisGrid extends Component<IrisGridProps, IrisGridState> {
554554
},
555555
canCopy: true,
556556
canDownloadCsv: true,
557-
frozenColumns: EMPTY_ARRAY,
557+
frozenColumns: undefined,
558558
// Do not set a default density prop since we need to know if it overrides the global density setting
559559
density: undefined,
560560
canToggleSearch: true,

0 commit comments

Comments
 (0)