Jump to content

[UniDBGrid]Multi sort and disable sort


delagoutte

Recommended Posts

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 ?

 

 

 

Link to comment
Share on other sites

  • 1 year later...

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

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...