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

[Solved] Cells not rendered correctly(cutted)

3 Answers 65 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
andrea
Top achievements
Rank 1
andrea asked on 08 Sep 2015, 02:01 PM

Hello,

I have an issue with the rendering of some cells of the RadGridView after resizing them.

I have some GridViewDataColumn with a CellTemplate like this:

<DataTemplate>
    <Rectangle  Margin="5" Height="{Binding Height}" Width="{Binding Width}" Fill="Red"  />
</DataTemplate>

If I change the value of Height and Width in my model, the size of Rectangle change but cells ​are often not rendered correctly, they seems cutted.

It seems that the issue doesn't happen if the scrollbar of the radGridView is completely to the left.

If I scroll a bit to the right, I can see the issue.

If i get the issue and I move a little bit the horizontal scrollbar, the layout of the grid is updated correctly.

I attach a small solution where I can reproduce the issue.​(reference UI.for.Silverlight.Xaml.2015.1.0401.nupkg and MvvmLight 5.2.0.0 nuget package).

Thanks,

Andrea

 

 

3 Answers, 1 is accepted

Sort by
0
andrea
Top achievements
Rank 1
answered on 08 Sep 2015, 02:06 PM
How can I attach my source code? Can I attach a zip file?
0
andrea
Top achievements
Rank 1
answered on 09 Sep 2015, 08:38 AM
I attach the correct situation and the cutted images.
0
Ivan Ivanov
Telerik team
answered on 11 Sep 2015, 10:20 AM
Hello,

Please excuse me for the delayed reply. Our support forums are limited only to image attachments. You can send us an archive attachment (up to 20MB) through our support ticket system. It also guarantees 24h response priority support. It seems that this is some measuring issue that can very specific to the concrete scenario, so that a sample project that illustrates it will be very helpful to us.

Regards,
Ivan Ivanov
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
andrea
Top achievements
Rank 1
Answers by
andrea
Top achievements
Rank 1
Ivan Ivanov
Telerik team
Share this question
or