"@devexpress/dx-react-core": "^1.7.0",
"@devexpress/dx-react-grid": "^1.7.0",
"@devexpress/dx-react-grid-material-ui": "^1.7.0",
When combining RowDetailState with Paging some unexpected behaviour occurs.
To reproduce:
Show details for any item on position A on page X, switch to page Y and details for another item on position A on page Y will be shown.
Once switching pages the RowDetailState should be reset.
Hi,
Would you please modify this sample to reproduce the issue?
I could not reproduce the issue with local data. It only ocurrs when loading data from a remote source (on page change) and when using PagingState in a controlled mode and RowDetailsState in an uncontrolled mode.
I fixed it by controlling RowDetailState and manually setting the expanded rows on data load.
To make the Detail Row feature work correctly, you should specify an id field for your rows. Without this field, RowDetailState will use the row's number.
聽
I updated the example accordingly.
Ok, thank you! This info could also be added to the documentation.
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.