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. Image for the cookie policy date

SfMultiColumnDropDownControl Grouping Selection Exception

If you programmatically set the GroupColumnDescriptions for the grid in the drop down like this:

sfddControl.GetDropDownGrid().GroupColumnDescriptions.Add(new GroupColumnDescription { ColumnName="Column1Text" });

When you click an item inside of a group it will throw this exception:

"System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.\rParameter name: index\r   at System.ThrowHelper.ThrowArgumentOutOfRangeException()\r   at System.Collections.Generic.List`1.get_Item(Int32 index)\r   at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)\r   at Syncfusion.Data.RecordsEntryList.get_Item(Int32 index)\r   at Syncfusion.Data.TraversalHelper.GetPrevious(NodeEntry entry)\r   at Syncfusion.Data.GroupDisplayElem" string

but if you set the style and add in the GroupColumnDescriptions using XAML it works fine.




1 Reply

JG Jai Ganesh S Syncfusion Team February 5, 2014 12:56 PM UTC

Hi Jeremy,

 

Thanks for using Syncfusion products.

 

We have created a new incident 118844 on behalf of you related to this forum. We suggest you to follow up the incident for further reference using your direct trac account.

 

Please let us know if you have any concerns.

 

Regards,

Jai Ganesh S


Loader.
Live Chat Icon For mobile
Up arrow icon