-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Affects dash-ag-grid version: 32.3.2, it worked in 31.3.1.
Ag grid fails to render when the getRowId argument is explicitly set to None, its default value.
from dash import Dash
import dash_ag_grid as dag
layout = [
dag.AgGrid(
rowData=[{"test": 1}],
columnDefs=[{"field": "test"}],
getRowId=None,
),
]
app = Dash(__name__)
app.layout = layout
app.run(debug=True)Error:
(This error originated from the built-in JavaScript code that runs Dash apps. Click to see the full stack trace or open your browser's console.)
TypeError: t is not a function
at http://127.0.0.1:8050/_dash-component-suites/dash_ag_grid/async-community.js:1:15220
at Io.setId (http://127.0.0.1:8050/_dash-component-suites/dash_ag_grid/async-community.js:50:29517)
at Io.setDataAndId (http://127.0.0.1:8050/_dash-component-suites/dash_ag_grid/async-community.js:50:28743)
at U1.createNode (http://127.0.0.1:8050/_dash-component-suites/dash_ag_grid/async-community.js:189:58137)
at http://127.0.0.1:8050/_dash-component-suites/dash_ag_grid/async-community.js:189:54575
at Array.map (<anonymous>)
at U1.setRowData (http://127.0.0.1:8050/_dash-component-suites/dash_ag_grid/async-community.js:189:54559)
at sv.setRowData (http://127.0.0.1:8050/_dash-component-suites/dash_ag_grid/async-community.js:189:72154)
at sv.setInitialData (http://127.0.0.1:8050/_dash-component-suites/dash_ag_grid/async-community.js:189:61883)
at sv.start (http://127.0.0.1:8050/_dash-component-suites/dash_ag_grid/async-community.js:189:61771)
Metadata
Metadata
Assignees
Labels
No labels