[sortChanged Event] Doc and Implementation Mismatch - What Should We Do?
Documentation and implementation of the sortChanged event don't match. The documentation says the callback is invoked with just the sorted columns array, whereas in at least two different places (Core and Save State) the event is raised with the grid and list of columns.
If this behavior is coherent across event callback signatures, that is the first argument is always the grid, i'd say let's change the doc, otherwise the code (and i could make a pull request). What do you think about it?
I haven't dug into it, but for a lot of API's, sending the grid is redundant. The api has a reference to the grid, so it doesn't need it as an argument. But that would be a breaking change so it's best for now to fix the doc.
Ok, i'll make a pull request with the edited documentation.