Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Two-way sorting  (Read 226 times)

0 Members and 1 Guest are viewing this topic.

Andrew Nekrash

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
Two-way sorting
« on: December 01, 2011, 05:16:53 AM »
Hi, is it possible to set two-way sorting (asc/desc) for all columns in FlexibleTreeView? And how can I do this?
I set ThreeStateSortOrder for each column to FALSE, and AllowMultiColumnSort for entire control to FALSE, but didn't get the right behavior (see screenshot). I'm using version 3.0.3. I just need Windows Explorer like functionality.

Ruslan

  • Flexible TreeView Team
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 569
Re: Two-way sorting
« Reply #1 on: December 01, 2011, 05:29:02 AM »
Hello,

If you need to sort by all columns in the tree, you obviously need to enable the AllowMultiColumnSort property. In the attached image all columns are sorted (what you need) and produce correct result. Please point us what`s wrong with this sorting result.

Andrew Nekrash

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
Re: Two-way sorting
« Reply #2 on: December 01, 2011, 10:42:53 AM »
I set AllowMultiColumnSort for entire control to FALSE, so I need sorting only for one column.

Andrew Nekrash

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
Re: Two-way sorting
« Reply #3 on: December 01, 2011, 10:52:07 AM »
I just need usual two-state sorting when just one column can be sorted at the same time.

Ruslan

  • Flexible TreeView Team
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 569
Re: Two-way sorting
« Reply #4 on: December 01, 2011, 10:55:12 AM »
Please re-install the latest version (3.3.7). On this version disabling the AllowMultiColumnSort property causes only one column to be sorted.

Andrew Nekrash

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
Re: Two-way sorting
« Reply #5 on: December 01, 2011, 11:01:53 AM »
Ok, will try it, thank you!
 

Copyright © 2006-2012 ARMSoft. All rights reserved.