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.
Code example:
<sfgrid:SfDataGrid AllowEditing="True" NavigationMode="Cell"
AutoGenerateColumns="False"
ItemsSource="{Binding OrdersInfo}">
<sfgrid:SfDataGrid.Columns>
<sfgrid:GridTemplateColumn HeaderText="Ship Country"
MappingName="ShipCountry"
<sfgrid:GridTemplateColumn.CellTemplate>
<DataTemplate>
<combobox:SfComboBox SelectedItem="{Binding ShipCountry}" DataSource="{Binding CustomerNames, Source={x:Reference viewModel}}"/>
</DataTemplate>
</sfgrid:GridTemplateColumn.CellTemplate>
</sfgrid:GridTemplateColumn>
</sfgrid:SfDataGrid.Columns>
</sfgrid:SfDataGrid> |
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.
Regards,
G.Muthu kumaran.