You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataEditor does not apply the default string type to reactive columns #7596
The documented default column type of "str" is applied to literal columns, but not to state-backed (reactive) columns. A reactive column without an explicit type produces an invalid Glide TextCell and crashes when the grid renders it.
The Data Editor docs state that type defaults to "str". With a literal list, DataEditor.create applies that default via format_data_editor_column. When columns is a Var (as above), that normalization is skipped. The frontend fallback then returns a Text cell with data: "Alice" but displayData: undefined.
I executed the current formatCell helper with this input and confirmed that output. The component is pinned to Glide Data Grid 6.0.3; its TextCell renderer passes displayData to drawTextCell, which calls string methods on it. Thus the missing default can throw during cell rendering, rather than merely omit the text.
Expected behavior
A reactive column without an explicit type should behave like a literal column: default to "str" and render the cell value.
Activity
linear-code commentedon Oct 18, 2026
ENG-13413
docs(dataeditor): news fragment for reflex-dev#7596
fix(dataeditor): settle column defaults and the cell callback at crea…
fix(dataeditor): settle column defaults and the cell callback at crea…
fix(dataeditor): settle column defaults and the cell callback at crea…
fix(dataeditor): settle column defaults and the cell callback at crea…
fix(dataeditor): settle column defaults and the cell callback at crea…
fix(dataeditor): settle column defaults and the cell callback at crea…
fix(dataeditor): settle column defaults and the cell callback at crea…
fix(dataeditor): settle column defaults and the cell callback at crea…