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. Image for the cookie policy date

[GridComboBoxColumn] Always show the Arrow


  Is it possible to show the dropdown arrow in the cell all the time?

Attachment: Arrow_GridComboBoxColumn_ac25fe20.rar

Best regards,

3 Replies

MK Muthu Kumaran Gnanavinayagam Syncfusion Team February 10, 2020 08:59 AM UTC

Hi Yin, 
Thank you for contacting Syncfusion support. 
We have checked the reported query “Need to show SfComboBox arrow inside the Grid row template” from our side. We would like to let you know that the SfComboBox element will be loaded in the GridCell only when the SfDataGrid is in EditMode. So when tapping the next cell, the previous loaded SfComboBox element will be unloaded and loads the label element thereby ending the EditMode. So your requirement cannot be achieved using GridComboBoxColumn. 
However you can achieve your requirement by loading the SfComboBox control inside the CellTemplate of GridTemplateColumn in SfDataGrid as like below. 
Code example: 
<sfgrid:SfDataGrid AllowEditing="True" NavigationMode="Cell" 
            ItemsSource="{Binding OrdersInfo}"> 
            <sfgrid:GridTemplateColumn HeaderText="Ship Country" 
                        <combobox:SfComboBox SelectedItem="{Binding ShipCountry}" DataSource="{Binding CustomerNames, Source={x:Reference viewModel}}"/> 
For your reference, we have attached the working sample below and you can download it from the below link. 
Please let us know if you require further assistance. 
G.Muthu kumaran. 

YS Yin Shun February 10, 2020 07:47 PM UTC

Thanks G.Muthu kumaran,

  That's really a great demo for me=)!
  I've learn a lot from this. Thanks again!

Best regards,

FP Farjana Parveen Ayubb Syncfusion Team February 11, 2020 09:20 AM UTC

Hi Yin, 
Thanks for the update. 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 
Farjana Parveen A 

Live Chat Icon For mobile
Up arrow icon