Completed
Last Updated: 08 Jun 2021 10:18 by ADMIN
Release LIB 2021.2.608 (08 Jun 2021)
Martin Ivanov
Created on: 28 May 2021 13:21
Category: CardView
Type: Bug Report
1
CardView: Removing an item from the ItemsSource always removes the last card in the UI

Removing an item from the ItemsSource always removes the last card in the UI, regardless of the item's index in the ItemsSource. For example, if you remove an item at index 0, the last visual element (card) will be removed instead of the first one in the view. 

To resolve the issue, you can reset the ItemsSource of the RadCardView control after the collection changed action.

var source = this.cardView.ItemsSource;
this.cardView.ItemsSource = null;
this.cardView.ItemsSource = source;

0 comments