Closed enniosousa closed 1 year ago
What you are seeing is actually expected - it is expected to mutate the data rather than replace it. So for example you might use splice
to remove an item from the array.
That said, I don't really any harm in this. Going to leave open for the moment to think about it and also because the docs would need to be updated.
Been looking at this again, and almost committed the change (although looking for an undefined
return as well) but decided that I want to encourage anyone doing this to mutate the object and arrays rather than define their own, particularly with the new structure
properties in the data.
I need remove duplicated rows that occurs when one or more columns are not displayed (ColVis) use the callback
customizeData
is the best way extending the button and using configuration, but it isn't overwrite the variable, I can only read the value