User (Old forums)MemberJanuary 30, 2008 at 6:02 pmPost count: 23064
Hi, I tried to set Deferred scrolling mode on your sample project Xceed.Wpf.DataGrid.Samples.DataBinding. In file MainPage.xaml I set the ItemsScrollingBehaviour property to Deferred on the DataGridControl and ShowScrollTip to true on the TableView.
Unfortunately, when scrolling the scroll tip remains empty for all data source types except the first (DataTable as Source).
I hope there is a solution or workaround for this problem. This bug also shows up in my own project when I bind to a DataTable (via DataGridCollectionViewSource), which is populated manually (í.e., not filled by a database query).
Since we intend to use Xceed DataGrid for a LOB application in which we will feed 100.000+ rows into a DataGrid, deferred scrolling with a scroll tip is very important for us. Immediate scrolling is totally unusable for this large amount of data.
Imported from legacy forums. Posted by Hubertus (had 2844 views)User (Old forums)MemberJanuary 31, 2008 at 2:07 amPost count: 23064
I have been successfully using the ScrollTips. The things that I do are:
1) Define a DataTemplate which includes a Binding to one of my data’s properties:
2) In the C# initialisation of the grid I assign this DataTemplate to the Grid.View’s ScrollTipContentTemplate.
UIViewBase uiViewBase = this.View as UIViewBase;
if (uiViewBase != null)
uiViewBase.ScrollTipContentTemplate = (DataTemplate)this.FindResource(“ScrollTipContentTemplate”);
Imported from legacy forums. Posted by Derek (had 629 views)Xceed SupportMemberJanuary 31, 2008 at 8:57 amPost count: 5658
This is obviously a bug in 1.3 and it is corrected in version 2.0.
The problem was that the ScrollTipContentTemplate was not updated on ItemsSource changed. A workaround would be to do it manually when the ItemsSource is changed.
Thanks for bringing that to our attention.
Imported from legacy forums. Posted by Chris [Xceed] (had 546 views)User (Old forums)MemberJanuary 31, 2008 at 10:26 amPost count: 23064
Hi Christian, Hi Derek,
thanks for your valuable response! Until v2, we can live with the workaround suggest.
@Derek: The custom ScrollTipContentTemplate can also be defined in Xaml without using C#
Imported from legacy forums. Posted by Hubertus (had 4323 views)
- You must be logged in to reply to this topic.