Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Header wrap text and autoheight

$
0
0

This is getting ridiculous.  Simple scenarios like wrapping headers, custom cell backgrounds and exporting to Excel require hundreds of lines of "workaround" code.  I see almost zero real investment in the WPF components in recent years.  I think it's time to shop around.  The "support" we pay for every year simply points me to some demo that creates more work for me because the written documentation is so piss poor you didn't realize you weren't supposed to do it one way.  Demos are not documentation.

 To summarize the current instance, I have a column where I want to wrap the header text.  Original XAML:

<telerik:GridViewDataColumn Header="Region" DataMemberBinding="{Binding Path=Region}" />

New XAML:

<telerik:GridViewDataColumn DataMemberBinding="{Binding Path=Region}">

<telerik:GridViewDataColumn.Header>

<Grid>

<TextBlock Text="Region" TextWrapping="Wrap"/>

</Grid>

</telerik:GridViewDataColumn.Header>

</telerik:GridViewDataColumn>

This gets repeated for EVERY SINGLE COLUMN.  Now I want to export, so I have to cover that case with ANOTHER workaround. At what point does this tool decrease my productivity instead of increasing it? You're looking at it.
 
 

Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>