Unplanned
Last Updated: 01 Jun 2023 11:20 by ADMIN
B
Created on: 01 Jun 2023 11:03
Category: ListView
Type: Bug Report
0
RadListView: In DetailsView, Cells are not sized correctly when TextWrap is set and AutoSizeColumnsMode is set to Fill

In this case, the RadListView control is placed inside a RadSplitContainer. The control is set in DetailsView with enabled TextWrap of the cells. When the splitter is moved the cells with longer text are not sized correctly. 

In this case, we need to force the cells to measure again. To do that we can call the InvalidateMeasure() with true as a parameter and call UpdateLayout() afterward of the ListViewElement.

this.radListView1.ListViewElement.InvalidateMeasure(true);
this.radListView1.ListViewElement.UpdateLayout();

 

1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 01 Jun 2023 11:20

Hi B Williams,

Thank you for reporting this. 

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.