Jump to content

Recommended Posts

Posted

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 ?

 

 

 

  • 1 year later...
Posted

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 ?

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...