Hi,
I researched your scenario and couldn't reproduce the problem on my side.
We don't provide React Grid v1.1.7. The npm view @devexpress/dx-react-grid versions command shows all available versions. So, I'm using React Grid v1.1.2 for research.
First, I checked the scenario with remote sorting. It works as expected. This sample shows this in action. Invoke the following commands to run it in a browser:
npm i
npm run dev
See the README.md file for more details.
Then I tested sorting with server side rendering. I didn't find any problem either. I used this project for testing. I added React Grid to the index.js page and ran it. I should say, here I used React Grid v1.5.1, because React Grid v1.1.2 isn't compatible with the latest version of Materiau-UI that is used it the test project.
I was able to fix the issue. I was doing
this.changeSorting = sorting => this.changeSorting.bind(this);
That is the reason why it was not able to invoke changeSorting() event.
Thank you for your help!
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.
Most helpful comment
I was able to fix the issue. I was doing
this.changeSorting = sorting => this.changeSorting.bind(this);That is the reason why it was not able to invoke changeSorting() event.
Thank you for your help!