DataFormatString only works for top level in TreeListView

1 Answer 5 Views
TreeListView
Manuel
Top achievements
Rank 1
Manuel asked on 21 May 2025, 08:31 AM

I have just updated the .dlls from 2020.1 to the latest version (2025.1.211).

Now, the formatting only works for the top level.

Before:

After:

The blue rows are top level and work as expected, any row in any level below does not use the format string.

The TreeListView is defined with an ItemsSource:

<telerik:RadTreeListView
      (...)
      ItemsSource="{Binding ... }" >

The columns are defined like this:

<telerik:GridViewDataColumn
       DataMemberBinding="{Binding ...}"
       IsReadOnlyBinding="{Binding ...}"
       DataFormatString="{}{0:#,###;-#,###;#}"
       CellStyleSelector="{StaticResource CellStyleSelector}"
       ShowDistinctFilters="False"
       Width="80"
       Header="...">
       <telerik:GridViewDataColumn.Footer>
           <TextBlock
               Text="{Binding ...}" />
        </telerik:GridViewDataColumn.Footer>
</telerik:GridViewDataColumn>

I have not found anything new in the documenation. Am I missing something?

Thanks and best regards,
Manuel

1 Answer, 1 is accepted

Sort by
1
Accepted
Stenly
Telerik team
answered on 21 May 2025, 08:50 AM

Hello Manuel,

We are aware of this behavior and have a bug report in our feedback portal regarding it:

TreeListView: DataFormatString property of the columns is not applied on child rows

Generally, this behavior has been fixed with the 2025.2.521 version of our assemblies, which was released today.

With this being said, would it be possible to upgrade to this version and see if this behavior is resolved?

Regards,
Stenly
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.

Manuel
Top achievements
Rank 1
commented on 21 May 2025, 10:39 AM

Hello Stenly,

I can confirm that it works again with the latest assemblies - thank you!

 

Best regards,
Manuel

Tags
TreeListView
Asked by
Manuel
Top achievements
Rank 1
Answers by
Stenly
Telerik team
Share this question
or