Skip to content

GroupHeaderTemplate and GroupFooterTemplate Not Displaying in CollectionView(CV2) #28509

@NafeelaNazhir

Description

@NafeelaNazhir

Description

In CollectionView2, the GroupHeaderTemplate and GroupFooterTemplate are not displayed when IsGrouped is set to true and a GroupedList is assigned as the ItemsSource. The expected behavior is that the group header and footer should be visible when templates are set, but they do not appear.

Screen.Recording.2025-03-19.at.7.21.09.PM.mov
Screen.Recording.2025-03-19.at.7.23.19.PM.mov

Steps to Reproduce

  1. Launch the Application iOS and Catalyst GroupingSample2.zip
  2. Set ItemsSource to Grouped List.
  3. Set IsGrouped to True.
  4. Select GroupHeaderTemplate.
  5. Observe that the group header template is not displayed.
  6. Select GroupFooterTemplate.
  7. Observe that the group Footer template is not displayed.

Expected Behavior:
The group header template and group footer template should be visible when IsGrouped is true and a grouped ItemsSource is assigned.

Actual Behavior:
The GroupHeaderTemplate and GroupFooterTemplate do not appear in the UI.

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

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Labels

area-controls-collectionviewCollectionView, CarouselView, IndicatorViewcollectionview-cv2i/regressionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/iosplatform/macosmacOS / Mac Catalysts/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