eduardosuruagy Posted October 15, 2018 Share Posted October 15, 2018 How do I sort by the "Order" column. The bank select is already sorting by the field, but on the grid it does not sort. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted October 21, 2018 Author Share Posted October 21, 2018 ????? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 21, 2018 Share Posted October 21, 2018 Hello, This post may help you: Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted October 21, 2018 Author Share Posted October 21, 2018 function store.load(sender, node, records, successful, eOpts) { var me=sender; me.remoteSort=false; me.sort({property:0, direction:"DESC"}); me.grid.getSelectionModel().select(0); //<------------- } I did this, just get me a doubt, that zero (me.sort({property:0, direction:"DESC"});) that you put it indicates the column that will be ordered? 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 21, 2018 Share Posted October 21, 2018 Your field index Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted October 21, 2018 Author Share Posted October 21, 2018 If I have more than one field like I do? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.