I have a Datagrid that uses bind-settings in order to save/restore the grid settings. If I apply a filter to a column, the DataGridSettings object that I have binded to the grid is updated. But if I call reset() to clear all the filters to the grid, the grid does not update the DataGridSettings object, so when I load the settings again, it remembers the last filter applied, which (for me) is wrong, because the last state of the grid had no filters at all.
Is that a bug or is it by design? If it is the latter, is there a way to force the grid to update the DataGridSettings object binded after I call the reset method of the grid?
I don't want to set the settings to null, because that means losing all the other attributes like column width and column position, which I believe are preserved when calling reset(). What I want is for the DataGridSettings object to reflect that the grid does not have any filters after I have called reset(), but preserving all other attributes as I mentioned (column width, column position, page size, etc.). If I set the object to null, as I said, I'd be losing all the settings, even if they don't have anything to do with the applied filters.