Hi.
Just playing around with the gridview control and for some reason I cant get the vertical scroll bar to show. The data is bound using the domaincontext/itemsource. I also find that the grid does not fit the content correctly and when maximized (in blacklight docking control) it shows an additional blank column. Can someone give me some pointers? Code below.
Just playing around with the gridview control and for some reason I cant get the vertical scroll bar to show. The data is bound using the domaincontext/itemsource. I also find that the grid does not fit the content correctly and when maximized (in blacklight docking control) it shows an additional blank column. Can someone give me some pointers? Code below.
<bl:DragDockPanel.Content> |
<Grid> |
<telerik:GridViewDataControl Name="gridViewDataControl1" ItemsSource="{Binding Data, ElementName=MyData}" Margin="10,20,10,20" |
AutoGenerateColumns="False" IsReadOnly="True" CanUserDeleteRows="False" CanUserInsertRows="False"> |
<telerik:GridViewDataControl.Columns> |
<telerik:GridViewDataColumn Header="Finance Id" DataMemberBinding="{Binding fiananceid }" /> |
<telerik:GridViewDataColumn Header="Reference" DataMemberBinding="{Binding reference }" /> |
<telerik:GridViewDataColumn Header="Description" DataMemberBinding="{Binding description }" /> |
<telerik:GridViewDataColumn Header="Due Date" DataMemberBinding="{Binding due_date }" /> |
<telerik:GridViewDataColumn Header="Amount" DataMemberBinding="{Binding amount }" /> |
<telerik:GridViewDataColumn Header="Journal Reference" DataMemberBinding="{Binding journal_reference }" /> |
</telerik:GridViewDataControl.Columns> |
</telerik:GridViewDataControl> |
</Grid> |
</bl:DragDockPanel.Content> |
</bl:DragDockPanel> |