Completed
Last Updated: 19 Mar 2020 14:38 by ADMIN
Release R2 2020 (LIB 2020.1.323)
Tinus
Created on: 05 Mar 2020 12:10
Category: ListView
Type: Bug Report
0
RadListView: Clearing the items in the data source used by the list view should also clear the items in the Groups if there are any
The issue can be reproduced if the control is not grouped when deleting the items in the data source.
1 comment
ADMIN
Hristo
Posted on: 05 Mar 2020 12:19

Hello,

Workaround: Explicitly clear the group items 

private void BtnClearClick(object sender, EventArgs e)
{
    m_DataSource.Clear();

    foreach (var group in this.radListView1.Groups)
    {
        group.Items.ResetListSource();
    }
}

Regards,
Hristo
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.