Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Links "DE#nnn" prior to version 2.0 point to the Dash Enterprise closed-source D

### Fixed
- [#454](https://github.com/plotly/dash-ag-grid/pull/454) fixes issue where a rowCount of 0 would cause the grid not to display new data
- [#417](https://github.com/plotly/dash-ag-grid/issues/417) fix grid rendering when `getRowId` is explicitly set to `None`

## [35.2.0] - 2026-04-03
### Added
Expand Down
3 changes: 3 additions & 0 deletions src/lib/fragments/AgGrid.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,9 @@ export function DashAgGrid(props) {
const convertedProps = convertAllProps(
omit(NO_CONVERT_PROPS, {...dashGridOptions, ...restProps})
);
if (convertedProps.getRowId === null) {
delete convertedProps.getRowId;
}

if ('theme' in convertedProps) {
if (typeof convertedProps.theme === 'function') {
Expand Down
19 changes: 19 additions & 0 deletions tests/test_get_row_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import dash_ag_grid as dag
from dash import Dash
from . import utils


def test_get_row_id_none_renders(dash_duo):
app = Dash(__name__)
app.layout = [
dag.AgGrid(
id="grid",
rowData=[{"test": 1}],
columnDefs=[{"field": "test"}],
getRowId=None,
)
]

dash_duo.start_server(app)
grid = utils.Grid(dash_duo, "grid")
grid.wait_for_cell_text(0, 0, "1")
Loading