This is a migrated thread and some comments may be shown as answers.

WordEllipsis TextTrimming not visible when column is resized

3 Answers 208 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Licenses
Top achievements
Rank 1
Licenses asked on 24 Feb 2011, 11:22 AM
Hello,

I apply WordEllipsis TextTrimming when the contents of a GridViewDataColumn can potentially exceed the column width. Such a column usually has a width of 250 or 350, which is set in the XAML. But when I run my application, I notice that the ellipsis is not shown when I make the column smaller then the width in the XAML. (by dragging the column border).

The issue occurs when I set the EnableColumnVirtualization property to false, like in the following code snippet (I used one of your sample projects):

<Grid x:Name="LayoutRoot" Background="White"
        <telerik:RadGridView x:Name="gridView" EnableColumnVirtualization="False"
            <telerik:RadGridView.Columns
                <telerik:GridViewDataColumn TextTrimming="WordEllipsis" Header="First Name" Width="60" DataMemberBinding="{Binding FirstName}"/> 
                <telerik:GridViewDataColumn Header="Last Name" DataMemberBinding="{Binding LastName}"/> 
                <telerik:GridViewDataColumn Header="Married" DataMemberBinding="{Binding Married}"/> 
                <telerik:GridViewDataColumn Header="Age" DataMemberBinding="{Binding Age}"/> 
            </telerik:RadGridView.Columns
        </telerik:RadGridView
</Grid>

Any ideas?

Thanks
Sodi

PS: I tried to reply on the forum post about the same issue. The title of the forum post is: WordEllipsis TextTrimming not visible when column width is changed. But for some reason, an error webpage is displayed when I try to post my answer. The message on the error page is: Oops...Its seems there was a problem with our server.

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 25 Feb 2011, 08:23 AM
Hello Sodi,

 
Thank you for the detailed information. It seems that you have hit a bug in our RadGridView when the column virtualization is off. I have logged this issue in our PITS System and you can track its progress following this link. For the time being I may suggest you to set the EnableColumnVirtualization property of RadGridView to True and it will work as expected. I have updated your Telerik points accordingly.

Please excuse us for any inconvenience caused.


Kind regards,
Vanya Pavlova
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Selvakumar Savarimuthu
Top achievements
Rank 1
answered on 12 Aug 2011, 08:57 AM
Hi Support,

We are also facing the problem of ellipses not appearing during the column resize in the grid. Has this issue been fixed?

Could you please let us know the version in which this has been fixed?

Thanks
0
Vanya Pavlova
Telerik team
answered on 12 Aug 2011, 09:14 AM
Hello Selvakumar,

 

This issue has been already fixed and you may try one of our latest internal builds where such a behavior cannot be observed. I am attaching you a runnable project using binaries as part of the Hotfix uploaded on Monday so you may use it for testing. 


All the best,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
GridView
Asked by
Licenses
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Selvakumar Savarimuthu
Top achievements
Rank 1
Share this question
or