kkelchev Posted September 25, 2018 Share Posted September 25, 2018 Hi to all, What is right way to clear/remove column sorting. For filtering (for example) there is special button "Clear Filter" How end-user(in browser) could remove column sort. If He/She click on column header (or thought column "Sort" menu ) there are 2 state "ASC" and "DESC" . What to do to see records in default (as send from server order ) without sorting. Thanks Quote Link to comment Share on other sites More sharing options...
delagoutte Posted September 26, 2018 Share Posted September 26, 2018 for cancel all sort you can use this : UniSession.AddJS('if ('+aGrid.JSName + '.getStore().sorters != null) {'+aGrid.JSName + '.getStore().sorters.clear();};'); Quote Link to comment Share on other sites More sharing options...
kkelchev Posted September 26, 2018 Author Share Posted September 26, 2018 Thanks 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.