Skip to content

[Windows] NullReferenceException thrown When Toggling IsGrouped to True in ObservableCollection Binding #28824

@NafeelaNazhir

Description

@NafeelaNazhir

Description

A NullReferenceException is thrown when the IsGrouped property of a CollectionView is toggled to true while it is still bound to a flat ObservableCollection or List.

Image

Steps to Reproduce

  1. Run the application ObservableCollectionIssue.zip
  2. Click the "Toggle Grouping" button to set IsGrouped to true.
  3. Observe it throws NullReferenceException on windows.

Link to public reproduction project repository

No response

Version with bug

9.0.50 SR5

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions