Jump to content


Photo

TUniDBGrid - Set/Get sorting stastus of a column

TUniDBGrid Columns sorting state

  • Please log in to reply
2 replies to this topic

#1 Kiener

Kiener

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 149 posts
  • LocationSwitzerland

Posted 02 June 2015 - 10:12 AM

Based on following discussion:

http://forums.unigui...tate-of-column/

 

It would be importand if we could get/set the sorting status of a column by code. Something like

 

TUniDBGrid.columns[0].Sort(asc);

TUniDBGris.colimns[0].SortingState; (ssNone, ssAsc, ssDesc)

 

Then we could save and reset the sort state of a grid.

 

At moment, if you open a form with a grid, you can not set the column shown as sorted which is actually sorted in the dataset behind. So, if the user clicks on the column header, nothing occurs but the header is shown as sorted, what it already was before..


  • 1

Planung ersetzt Zufall durch Irrtum.

(zugeschrieben Albert Einstein)


#2 ArieKanarie

ArieKanarie

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 19 June 2018 - 10:00 AM

Any news on this? I think this feature is a "Must have" or at least "Should have".

Our customers are asking for this.


  • 0

#3 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 5177 posts

Posted 19 June 2018 - 10:27 AM

Hello,

 

Any news on this? I think this feature is a "Must have" or at least "Should have".

Our customers are asking for this.

 

Which edition and build are you using ?!


  • 0





Also tagged with one or more of these keywords: TUniDBGrid, Columns, sorting, state

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users