This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
Selecting a filter with Sort, does not sort data in a Listview.
If you are trying to sort data using different columns in design time and runtime, listview will sort according to the sort configured in design time. Design time sort will override runtime sort.
Example: Design time: Col A > Ascending Runtime: Col B > Descending
Design time sort will work even if you apply the filters with runtime sort.
Design time Sort Configuration:
Runtime Sort Configuration:
This is a known issue.
This issue has been fixed in K2 Five
. If you are using sort in both design time and runtime, listview data will sort according to the filter added during runtime.