How do I know selectionchange happened because user interaction, not from programmatic binding updates
Hi,
Regarding SfComboBox, How do I know selectionchange happened because user interaction, not from programmatic binding updates?
TIA
Diego
Hi Diego,
Thanks for sharing the details. To assist us in investigating this further, could you please clarify the purpose of identifying whether the selection change in SfComboBox is triggered by user interaction or by a programmatic update? This will help us provide an appropriate solution
Best regards,
Manikandan Kannan.
Hi,
Scenario:
Product 1 - Color: Blue, Size 1
Product 2 - Color: Blue, Size 2
Product 3 - Color: Blue, Size 3
Product 4 - Color: Red, Size 2
Product 5 - Color: Red, Size 3
Product 6 - Color: Red, Size 4
Combo1 - Blue/Red
Combo 2 - 1/2/3 or 2/3/4, depending on current visible product
When I change selectionvalue, it must show the correct product image.
Regards,
Diego
Hi Diego,
We’ve prepared a sample based on the scenario you described and attached it here. Please review the implementation and adjust it further as needed for your requirements. Let us know if you need any additional assistance—we’ll be glad to help.
If your use case is different from the scenario covered in the sample, kindly explain it in detail so we can provide a more tailored solution.
Regards,
Tameem.
Attachment: SimpleSample_4a781f1c.zip
Hi,
I've modified your example.
6 products, 2 colors, 3 sizes. Changing colors, sizes combo must changed items source. And set a valid size.
Both combos must be set from buttons as well.
Regards,
diego
Attachment: SimpleSample_81c9c830.zip
Hi Diego,
Thank you for providing the modified sample. We were unable to clearly determine your exact requirement from the current implementation. Could you please clarify the specific behavior or outcome you are expecting? For your reference, we have attached a demo video demonstrating the observed behavior.
Best regards,
Manikandan Kannan.
Attachment: ComboBoxSelectionChangedWorkingVideo_1c5a3566.zip
- 5 Replies
- 3 Participants
-
DV Diego Velazquez
- Mar 16, 2026 03:48 PM UTC
- Mar 25, 2026 01:44 PM UTC