The DataChangeLayer provides API to check if a row, a column or a cell is dirty. The dirty state with that API determines the dirty state based on content changes. There is no API to check if the table itself is dirty, which actually means, is there any changed data value.
Currently the only way is to check if there are tracked data changes. But for example if you change a value twice, once change it, then bring it back to the original state, the available dirty check API returns false, as there is no data change, but there are two data changes tracked.
We should add an API to simply return the table dirty state, to for example easily implement a dirty state handling in a part view.
The
DataChangeLayer
provides API to check if a row, a column or a cell is dirty. The dirty state with that API determines the dirty state based on content changes. There is no API to check if the table itself is dirty, which actually means, is there any changed data value.Currently the only way is to check if there are tracked data changes. But for example if you change a value twice, once change it, then bring it back to the original state, the available dirty check API returns false, as there is no data change, but there are two data changes tracked.
We should add an API to simply return the table dirty state, to for example easily implement a dirty state handling in a part view.