Skip to content

CollectionView Programmatic-Selection is not updated when binding the selectedItem #25551

@SuthiYuvaraj

Description

@SuthiYuvaraj

Description

In CollectionView, when selecting through Programmatic selection is not applied.

Steps to Reproduce

Deploy the attached sample
By default, SelectedItem is bound to the string on code behind
Check the default items should be highlighted

Actual Behavior:

No item is selected on initial loading
Image

Expected Behavior:

Item should be selected and Highlighted
Image

Link to public reproduction project repository

CollectionView_selection.zip

Version with bug

9.0.0-rc.2.24503.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, Windows, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewfixed-in-9.0.21p/0Current heighest priority issues that we are targeting for a release.partner/syncfusionIssues / PR's with Syncfusion collaborationplatform/iosplatform/macosmacOS / Mac Catalystplatform/windowss/needs-reproAttach a solution or code which reproduces the issuet/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions