how to générate multiselect sfcombobox with sfdatafrom

Please how to générate multiselect sfcombobox  with sfdatafrom 

10 Replies 1 reply marked as answer

MS Muniappan Subramanian Syncfusion Team December 21, 2020 12:00 PM UTC

Hi Bienfoali, 
 
Thank you for contacting Syncfusion support. 
 
Currently we are analyzing your query “how to générate multiselect sfcombobox with sfdatafrom” and we will update you further details on or before December 23rd, 2020. We appreciate your patience until then. 
 
Regards,   
Muniappan S 



MS Muniappan Subramanian Syncfusion Team December 23, 2020 10:49 AM UTC

Hi Bienfoali 
 
Thank you for your patience.   
 
Query 1: how to générate multiselect sfcombobox with sfdatafrom 
We have checked your requirement and you can achieve your requirement by customize the existing editor in the dataform by using MultiSelectMode property in the “SfCombobox”. We have prepared a simple sample for the same, please find the sample by the following link.  
 
 
Query 2: Control crashed when selecting an item from dropdown in the iOS platform 
We will fix the issue and include the issue fix in our next Weekly Nuget release update which is planned to roll out on December 29, 2020. We appreciate your patience until then. 
 
We hope that this helps you, kindly revert us if you have any concern.  
 
Regards,   
Muniappan S. 



BI bienfoali December 24, 2020 12:10 PM UTC

Thank you for this update and waiting ths fix for ths IOS



MS Muniappan Subramanian Syncfusion Team December 28, 2020 06:14 AM UTC

Hi Bienfoali, 
 
Thank you for the update. 
 
We are glad that our solution meets your requirement. Please let us know if you need any further update. As always, we are happy to help you out. 
 
Regards, 
Muniappan S. 



MS Muniappan Subramanian Syncfusion Team December 30, 2020 06:28 AM UTC

Hi Bienfoali,                    
 
We have fixed the reported issue “Control crashed when selecting an item from dropdown in the iOS platform” and included the issue fix in our latest Weekly NuGet release update version 18.4.0.32 which is available for download (nuget.org). 
 
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Muniappan S. 



BI bienfoali February 7, 2021 01:54 PM UTC

this is working but now unable de bind object to the combobox any sygession?


SS SaiGanesh Sakthivel Syncfusion Team February 8, 2021 12:51 PM UTC

Hi Bienfoali, 
 
Thank you for the update. 
 
#Regatding Generate multiselect sfcombobox with sfdatafrom 
We have checked the reported scenario from our end. We regret to inform you that we could not replicate the reported scenario from our side.  Its working as expected. We have attached the tested sample for your reference and you can download the same from the following location.  
   
   
Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us back with the following details,   
  
·       Share the issue replicate video.  
·       Share the issue replicate reproduce.  
·       Share the issue replicate the platform 
·       Share the syncfusion version and Xamarin form version used in sample.   

Regards, 
SaiGanesh Sakthivel



BI bienfoali May 6, 2021 05:38 AM UTC

please the i able to obtain de multiselect combobox but unable to get the value 
please can you help?


BI bienfoali May 6, 2021 05:56 AM UTC

the value is System.Collections.ObjectModel.ObservableCollection`1[System.Object]"


SS SaiGanesh Sakthivel Syncfusion Team May 7, 2021 01:06 PM UTC

Hi Bienfoali,  
  
Thank you for the update.  
  
# How to get the SelectedValue in the DataFormDropDownEditior  
We have checked the reported query from our end. We would like to inform you that you can achieve your requirements with help of SelectionChanged method. Please refer to the following code snippet for your reference.  

Code snippet C#: Get list in SelectionChanged event 
public class CustomDataFormDropDownEditor : DataFormDropDownEditor  
 
    SfComboBox combobox;  
    public CustomDataFormDropDownEditor(SfDataForm dataForm) : base(dataForm)  
    {  
    }  
  
    protected override SfComboBox OnCreateEditorView(DataFormItem dataFormItem)  
    {  
        return base.OnCreateEditorView(dataFormItem);  
    }  
    protected override void OnInitializeView(DataFormItem dataFormItem, SfComboBox view)  
    {  
        base.OnInitializeView(dataFormItem, view);  
  
        view.MultiSelectMode = MultiSelectMode.Token;  
        view.TokensWrapMode = TokensWrapMode.Wrap;  
        combobox = view;  
        view.SelectionChanged += View_SelectionChanged;  
    }  
    private void View_SelectionChanged(object sender, Syncfusion.XForms.ComboBox.SelectionChangedEventArgs e)  
    {  
        var selectedItem =combobox.SelectedValue as List<String> 
    }  
 
  
Please refer to the tested sample in the following location.
Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/DataFormXamarin-575614541 
 
  
Please let us know if you have any concern.  
  
Regards,
SaiGanesh Sakthivel 


Marked as answer
Loader.
Up arrow icon