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

Header is cut

6 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Orit
Top achievements
Rank 1
Orit asked on 07 Sep 2010, 07:32 AM
Hi

when I use * in the width of a column (width="20*")
and the grid is empty
the header is cut

do you have a solution?

Thanks

6 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 07 Sep 2010, 08:57 AM
Hello Orit,

Unfortunately I was not able to reproduce the issue using you description,because everything works as expected on my side.
Could you please take a look at the attached sample and let me know how it fits in your scenario.
If that is not the case it could be great to provide us with some more detailed information.

Kind regards,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Orit
Top achievements
Rank 1
answered on 07 Sep 2010, 10:42 AM

<
telerik:RadGridView Name="gvRequest"                                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"                                     ShowColumnFooters="True"     CanUserFreezeColumns="False"      IsReadOnly="True"       AutoGenerateColumns="False"        HorizontalContentAlignment="Right"                                   ScrollViewer.HorizontalScrollBarVisibility="Auto"
FlowDirection="RightToLeft"
telerik:StyleManager.Theme="Simple"
ScrollMode="RealTime"                                    ScrollViewer.VerticalScrollBarVisibility="Auto"                                            
ShowGroupPanel
="False"                                              
IsFilteringAllowed="False"
RowIndicatorVisibility="Collapsed"
MinHeight="30"
Margin="5,5,5,5">

this is my grid properties
I attached a print screen of the cut header

some of the columns are only a number and some are with *
the grid is hierarchy

Thanks
0
Vanya Pavlova
Telerik team
answered on 07 Sep 2010, 02:46 PM
Hi Orit,

I tried to reproduce your issue but I am not quite sure how you define your columns. It seems that the GridViewHeaderRow cuts the GridViewHeaderCell in some way. Analyzing the image you provided, I have created a simple style for GridViewHeaderCell and once it has been applied, the grid looks like the one you have. You may see the attached image showing the grid as well as the sample project I used for testing the issue. 
However, when I removed this style applied to the last column in the Grid, everything works fine,even if I set the width to be 20* or fixed size to any other column.
On the other hand I may suggest you to set the ColumnWidth property of the RadGridView to 20* and after that set separately the width of each column to the desired size.
Using the code snippet you provided, I have updated and attached the sample application. If you need any further assistance, please change this project so that it meets your requirements and sent it back to me.


Sincerely yours,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Orit
Top achievements
Rank 1
answered on 12 Sep 2010, 11:46 AM
Hello

I copy the xaml of the 2 samples to a new window, and in both the header is cut.
you can even see it in the designer.

Thanks

0
Vanya Pavlova
Telerik team
answered on 15 Sep 2010, 01:30 PM
Hello Orit,

I tried your code and I was not able to reproduce the issue your described. It would be best if you could send us a small application that represents this strange behavior.

Kind regards,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Orit
Top achievements
Rank 1
answered on 16 Sep 2010, 09:44 AM
Hello
I send you a solution in a ticket  
thanks
Tags
GridView
Asked by
Orit
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Orit
Top achievements
Rank 1
Share this question
or