[DataGrid] controlled sortModel is not working #598
Labels
bug 馃悰
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
Milestone
Current Behavior 馃槸
When you set
sortModel
as[ ]
orundefined
from e.g.[{"field":"subject","sort":"desc"}]
then the Data Grid keeps the oldsortModel
instead of removing any previous sort.Expected Behavior 馃
sortModel
should work as controlled stateThe text was updated successfully, but these errors were encountered: