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

SfDataGrid Expand/Collapse Error

Thread ID:

Created:

Updated:

Platform:

Replies:

119590 Jul 10,2015 06:52 PM UTC Jul 14,2015 08:05 PM UTC WPF 3
loading
Tags: SfDataGrid
Ari Case
Asked On July 10, 2015 06:52 PM UTC

I have an SfDataGrid and I'm utilizing it's grouping functionality.

My grid currently has 4 groups but the issue is when the grid initially loads, when I expand and collapse the last group I get this error:

An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in Syncfusion.SfGrid.WPF.dll

Additional information: 5 out of range 0 to 4

It seems as though whatever the last group is, if you expand and collapse that group initially then this error occurs. You have to expand and collapse other groups before expanding and collapsing the last group to avoid this bug.

Can someone help? Thanks

Ashok N [Syncfusion]
Replied On July 13, 2015 07:19 PM UTC

Hi Ari,

Thank you for contacting Syncfusion support.

We have analyzed your query and we are unable to reproduce the reported issue. We have Expand and Collapse the last group but we could not get the Exception. We have attached the our tested sample in the below sample location, could you please revert us by modifying the attached sample based on your application along with the replication procedure? that would be helpful for us to proceed further​ analyze.
Sample location : http://www.syncfusion.com/downloads/support/forum/119590/ze/SimpleApplication-102627648

Please let us know if you require further assistance on this.

Thanks,
Ashok


Ari Case
Replied On July 13, 2015 08:29 PM UTC

The difference between mine and your code is that you guys are binding from a DataCollection in your Repository class.

I'm binding from a DataView which contains data that users modify from the application. For some reason it seems that Syncfusion grid's don't like DataViews and maybe this is the real issue.

Ashok N [Syncfusion]
Replied On July 14, 2015 08:05 PM UTC

Hi Ari,

We are sorry about the inconvenience caused.

We are sorry about the inconvenience caused. We analyzed your query and prepared a sample by using DataView, but we are unable to reproduce the reported issue. When we Expand and Collapse the last group, we did not face the exception. We have attached our tested sample in the following sample location, please revert us by modifying the attached sample based on your application along with the replication procedure. Otherwise, please share us more details like you are using any custom grouping in your application or using any other customization code that would be helpful for us to analyze further.
Sample location : http://www.syncfusion.com/downloads/support/forum/119590/ze/SimpleApplication_(2)-1719038501

Please let us know if you require further assistance on this.

Thanks,
Ashok


CONFIRMATION

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.

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

;