'Sort' in Filters not working in a Listview

  • 16 February 2021
  • 0 replies
  • 10 views

Userlevel 5
Badge +20
 

'Sort' in Filters not working

KBS100154

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
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.
LEGACY/ARCHIVED CONTENT
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.

Issue

Selecting a filter with Sort, does not sort data in a Listview.

Symptoms

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 timeCol A > Ascending  RuntimeCol B > Descending
Design time sort will work even if you apply the filters with runtime sort.

Design time Sort Configuration:                                                                                                              

Image

Runtime Sort Configuration:

Image

This is a known issue.

Resolution

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.

0 replies

Be the first to reply!

Reply