diff --git a/packages/ra-ui-materialui/src/list/DatagridRow.js b/packages/ra-ui-materialui/src/list/DatagridRow.js old mode 100644 new mode 100755 index c65957dc50d..df6f836d10d --- a/packages/ra-ui-materialui/src/list/DatagridRow.js +++ b/packages/ra-ui-materialui/src/list/DatagridRow.js @@ -86,6 +86,13 @@ class DatagridRow extends Component { this.handleToggleExpanded(event); return; } + if (path == 'toggle') { + this.handleToggle(event); + return; + } + if (!path) { + return; + } push(path); };