Steps to reproduce:
- Open http://dev.sencha.com/deploy/ext-4.0.0/examples/restful/restful.html
- Sort data by ID column
- Add row
- The row will be at top of grid but it can be at bottom
The question: how to sort dynamically added data?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The newly added row is added to the store, see store.insert() in the sample code:
Then it is ‘edited’ with real values and the store record is updated accordingly.
Maybe all you have to do is to call
But refreshing the grid view might be enough, since after all you already ask it to be sorted: