HI, hello,
I am facing problem which should be fixed already (based post http://www.telerik.com/forums/gridview-vertical-scrollbar---last-item-not-fully-visible#V4PclbPjJkW3wbe7TUNsRg).
this is my code:
I have gridview in radpanelbar and I use scrollviewer. When the gridview is resized and wrapping of the text gets working, last item is partially (or whole) hidden. When TextWrapping is set to NoWrap, last item is shown correctly.
I tried also approach where I used just gridview scrollbar. This worked little bit better (it means that last item was not hiding so dramatically), but problem was still present.
I prepared nice demo where you can reproduce problem. I am using Q3 2014.
Steps to reproduce:
- run demo
- expand Bar2
- scroll to last item
- reduce width of main window to start text wrapping
- watch last item
When can be this fixed? Or which workaround should I use to fix this bug?
I tried to hack it by hooking on LayoutUpdated event and computing correct height of gridview, which worked fine. But unfortunatelly, it caused infinite calling of LayoutUpdated event in some cases (which lead to troubles especially at customers PCs).
Thanks for help.
P.S. I can send you working demo. I was not allowed to add zip file as attached files of this post.
I am facing problem which should be fixed already (based post http://www.telerik.com/forums/gridview-vertical-scrollbar---last-item-not-fully-visible#V4PclbPjJkW3wbe7TUNsRg).
this is my code:
<
Grid
ScrollViewer.HorizontalScrollBarVisibility
=
"Disabled"
ScrollViewer.VerticalScrollBarVisibility
=
"Disabled"
MinWidth
=
"300"
MaxWidth
=
"600"
Height
=
"500"
>
<
telerik:RadPanelBar
ScrollViewer.HorizontalScrollBarVisibility
=
"Disabled"
ScrollViewer.VerticalScrollBarVisibility
=
"Disabled"
>
<
telerik:RadPanelBarItem
Header
=
"Bar1"
>
some content
</
telerik:RadPanelBarItem
>
<
telerik:RadPanelBarItem
Header
=
"Bar2"
>
<
ScrollViewer
VerticalScrollBarVisibility
=
"Auto"
HorizontalScrollBarVisibility
=
"Disabled"
>
<
telerik:RadGridView
Style
=
"{StaticResource DefaultRadGridView}"
ItemsSource
=
"{Binding ItemList}"
SelectedItem
=
"{Binding SelectedItem, Mode=TwoWay}"
ScrollViewer.HorizontalScrollBarVisibility
=
"Disabled"
ScrollViewer.VerticalScrollBarVisibility
=
"Disabled"
IsSynchronizedWithCurrentItem
=
"False"
EnableRowVirtualization
=
"True"
EnableColumnVirtualization
=
"False"
>
<
telerik:RadGridView.Columns
>
<!-- Name -->
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Name}"
Header
=
"Name"
Width
=
"Auto"
/>
<!-- Description -->
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Description}"
Header
=
"Description"
Width
=
"*"
TextWrapping
=
"Wrap"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
</
ScrollViewer
>
</
telerik:RadPanelBarItem
>
<
telerik:RadPanelBarItem
Header
=
"Bar3"
>
some content
</
telerik:RadPanelBarItem
>
</
telerik:RadPanelBar
>
</
Grid
>
I have gridview in radpanelbar and I use scrollviewer. When the gridview is resized and wrapping of the text gets working, last item is partially (or whole) hidden. When TextWrapping is set to NoWrap, last item is shown correctly.
I tried also approach where I used just gridview scrollbar. This worked little bit better (it means that last item was not hiding so dramatically), but problem was still present.
I prepared nice demo where you can reproduce problem. I am using Q3 2014.
Steps to reproduce:
- run demo
- expand Bar2
- scroll to last item
- reduce width of main window to start text wrapping
- watch last item
When can be this fixed? Or which workaround should I use to fix this bug?
I tried to hack it by hooking on LayoutUpdated event and computing correct height of gridview, which worked fine. But unfortunatelly, it caused infinite calling of LayoutUpdated event in some cases (which lead to troubles especially at customers PCs).
Thanks for help.
P.S. I can send you working demo. I was not allowed to add zip file as attached files of this post.