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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ChpiRemoved events doesn't work

Thread ID:

Created:

Updated:

Platform:

Replies:

142069 Jan 17,2019 09:43 AM UTC Jan 18,2019 03:24 PM UTC Xamarin.Forms 1
loading
Tags: SfChip
Przemyslaw Tosinski
Asked On January 17, 2019 09:43 AM UTC

Hi, 
I'm trying to implement SfChip control but I need to handleChildRemoved event. Unfortunately, ChildRemoved event doesn't work at all, nothing happening. I need this event to do filtering on my list when chips is removed.

Regards,
PT

Mugundhan Saravanan [Syncfusion]
Replied On January 18, 2019 03:24 PM UTC

Hi Tosinski,

Greetings from Syncfusion.

In our SfChip control we don’t have implement the ChildRemoved event. You can achieve this by creating ChildRemoved event for the layout which you have used inside the SfChipGroup. We have created a ChildRemoved event for the FlexLayout which used inside the SfChipGroup and it fire when closing the chip, its work as expected.

Please check the sample from the following

Code Snippet:
<StackLayout> 
                <buttons:SfChipGroup  
                            x:Name="chip" 
                             ItemsSource="{Binding Employees}"  
                             ChipPadding="8,8,0,0" 
                             DisplayMemberPath="Name"> 
                    <buttons:SfChipGroup.ChipLayout> 
                        <FlexLayout  
                                         x:Name="flex" 
                                         ChildRemoved="Flex_ChildRemoved" 
                                           HorizontalOptions="Start"  
                                           VerticalOptions="Center"  
                                           Direction="Row"  
                                           Wrap="Wrap" 
                                           JustifyContent="Start" 
                                           AlignContent="Start"  
                                           AlignItems="Start"/> 
                    </buttons:SfChipGroup.ChipLayout> 
                </buttons:SfChipGroup>
    </StackLayout> 


Sample: http://www.syncfusion.com/downloads/support/forum/142069/ze/SfChipSample_updated1766765099  

Please let us know if you have any other concern.

Regards,
Mugundhan S.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon