Jump to content


Photo

Sort by value in hidden column


  • Please log in to reply
2 replies to this topic

#1 czbird

czbird
  • Members
  • 58 posts

Posted 20 April 2018 - 11:32 AM

Hi,

I want to sort one column (visible) by values in other column (hidden) - is this possible?

The values in visible column are reformatted representation for end user and cannot be used for sorting by themselves.

I tried to implement onCompare, but it does not know the position of the cells it is comparing, so I cannot link to another cells from there.

Thanks

 

Simply put -- when user clicks on column A header, I need the grid to get sorted by column B values, but still show that column A is the sorted column :)

 

Thanks

 

 

 



#2 czbird

czbird
  • Members
  • 58 posts

Posted 20 April 2018 - 03:49 PM

nevermind... I managed to take advance of Text/DisplayText difference to achieve this.



#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 20 April 2018 - 03:50 PM

Hi,

Other idea is also to manually set Sorted of other column, after another column click.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users