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

Scrollbar buttons not working in Gridview.

0 Answers 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Shehnaz
Top achievements
Rank 1
Shehnaz asked on 16 Nov 2012, 12:48 PM
Hi,

I have a gridview in my View which displays the vertical scrollbar when required. But the grid is not scrolling on Up/Down arrow button click of the scrollbar niether when i click on the grid and scroll using mouse wheel. I have used a custom control in my gridview column's cell template.Hers is my code in XAML

<framework:RTPOGridView x:Name="NotesGrid" MinWidth="600" HorizontalAlignment="Stretch"  ItemsSource="{Binding Notes}" AutoGenerateColumns="False" Height="350"
                                                AlternateRowBackground="#E2F0FA"
                                  RowDetailsVisibilityMode="Visible" RowHeight="0" CanUserFreezeColumns="False" BorderThickness="0"
                                               RowIndicatorVisibility="Collapsed" ShowColumnHeaders="False"
                                    ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto">
                            <framework:RTPOGridView.Columns>
                                <telerik:GridViewDataColumn Width="*">
                                    <telerik:GridViewColumn.CellTemplate>
                                        <DataTemplate>
                                            <framework:DashboardNotesGridRow  Note="{Binding Note}" RectangleBackground="{Binding RectangleColor}"
                                                                     NoteType="{Binding RectangleContent}" LoginUser="{Binding Name}" NoteDateTime="{Binding NoteDateTime, StringFormat='MM/dd/yyyy hh:mm'}"
                                                                     />
                                        </DataTemplate>
                                    </telerik:GridViewColumn.CellTemplate>
                                </telerik:GridViewDataColumn>
                            </framework:RTPOGridView.Columns>
                        </framework:RTPOGridView>

 Please help.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Shehnaz
Top achievements
Rank 1
Share this question
or