We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataGridContol issues and questions

Thread ID:





80260 Mar 25,2009 02:15 PM UTC Jul 24,2009 04:36 AM UTC WPF 3
Tags: GridControl
Asked On March 25, 2009 02:15 PM UTC


Using your WPF trial I'm trying to build a simple app, but there are several issues using DataGridContol(I know that it's still a preview release):

1) I cannot find way how to implement PageDown/Up buttons which scroll page down/up. Any suggestions?

2) Binding to large data table with 300 000 records, your sorting seems to be a little bit slow. But I cannot find way how to measure it .. no appropriate events before and right after sorting .. Any suggestions?

3) Could confirm that you still dont have Filtering? When it will be available?

4) I'm trying your this.dataGrid.Model.Table.ExpandAll();

But ExpandAll expand only shows only first and second levels. My test data has 3 levels and third is still collapsed.

However I tried to implement it by my own:

private void Expand_Click(object sender, RoutedEventArgs e)
ExpandCollapseAll( this.SyncFusionDataGrid.Model.Table.Records, true);

private void ExpandCollapseAll(IEnumerable records, bool expand)
foreach (GridDataRecord record in records)
record.IsExpanded = expand ? true : false;

if (null != record.ChildModels)
GridDataChildTableModel gridDataChildTableModel = record.ChildModels[0];
ExpandCollapseAll(gridDataChildTableModel.Table.Records, expand);

//this.ExpandCollapseAll(record.ChildModels[0], expand);

And it throws:

System.ArgumentNullException was unhandled
Message="Value cannot be null.\r\nParameter name: items"
at Syncfusion.Windows.Controls.Grid.FunctionalExtensions.ForEach[T](IEnumerable items, Action`1 action)
at Syncfusion.Windows.Controls.Grid.GridDataTable.EnsureInitialized()
at Syncfusion.Windows.Controls.Grid.GridDataTable.get_Records()
at SyncFusionDataGrid.HBindingSortingPage.Expand_Click(Object sender, RoutedEventArgs e) in

Any thoughts??


Administrator [Syncfusion]
Replied On March 26, 2009 09:57 AM UTC

Hi Greg,

Thanks for evaluating Syncfusion products. I will list out the details below,

1) We already have the code implemented for PageUp/PageDown. We currently do not provide options to pass on the derived base grid into the DataGrid wrapper. We will have this considered for our final version.
2) With the latest code base we have done huge performance optimizations. We have included the following properties,

-> IsDefferedScrollingEnabled - Makes the scroll viewer preview the data only when the thumb is released.
-> EnableLazyLoad - Populates the internal data structures on demand.

Both these properties offers huge performance savings if you have very large amount of data. You can check out our next week's development build, (Monday) for checking out on these properties.

3)Yes, we will have the filtering implemented as in Excel by our next major release.

4)We have identified this as a bug. Please create a direct trac incident for checking the progress on this.

Let me know if you want any more details.

Grid.WPF Team
Syncfusion Inc.,

Tom Gielow
Replied On July 23, 2009 04:43 PM UTC

It appears that EnableLazyLoad is NOT a property of GridDataControl....can you help?

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On July 24, 2009 04:36 AM UTC

Hi Thomas,

Thanks for using Syncfusion products. We removed the EnableLazyLoad property in our Vol2 release itself, this is because we made it work with Virtualized data display, and so this property was never needed once we got that working.

Please let me know if you need any more details.

Grid.WPF Team
Syncfusion Inc.,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon