delagoutte Posted August 18, 2016 Share Posted August 18, 2016 the operation of the current sorting does not suit me. I wish I had the following behavior : exemple 1 : application start with a dbgrid click on first column title -> sort = col1 asc click on first column title -> sort = col1desc click on first column title -> sort = none click on first column title -> sort = col1 asc ... exemple2 : click on first column title ->sort = col1 asc click on first column title ->sort = col1 desc click on second column title ->sort = col1 desc , col2 asc click on first column title -> sort = col2 asc For do it, I need to change the image of the sort (the arrow) by code. i need to synchronize the images of sort with the current state of tri. How can i force display asc or desc arrow or none ? Quote Link to comment Share on other sites More sharing options...
delagoutte Posted August 19, 2016 Author Share Posted August 19, 2016 I just noticed that there is a OnMulticolumnsort Event but the array of column contain only one column. How it's working ? Quote Link to comment Share on other sites More sharing options...
M477H13U Posted October 23, 2017 Share Posted October 23, 2017 Hey Delagoutte and everyones !! We are in need of a behavior like that, do you know any workaround ? if not, how am I suppose to cancel a sorting ? Quote Link to comment Share on other sites More sharing options...
M477H13U Posted October 30, 2017 Share Posted October 30, 2017 Hello everyone ! I know this seem to be a very simple question, but when I clean the filter of my FDQuery, columns graphical rendering still show that they are sorted.. how can I cancel graphical sorting rendering of the columns ? Thank you guys :3 Quote Link to comment Share on other sites More sharing options...
delagoutte Posted November 2, 2017 Author Share Posted November 2, 2017 try this : UniSession.AddJS(aGrid.JSName + '.getStore().sorters.clear();'); Quote Link to comment Share on other sites More sharing options...
M477H13U Posted November 3, 2017 Share Posted November 3, 2017 Super, it is working just fine with a little aGrid.refresh; Thank you delagoutte (: 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.