Hi Folks,
Thank you for contacting Syncfusion support.
We have checked your query. We were unable to reproduce the reported “ HierarchyNavigator editable column in SfDataGrid” in our side. Based on our understanding, we have prepared sample in the below location. In the sample, we have loaded SfDataGrid with GridTemplateColumn, in that Combobox and button are added. Could you please refer below code,
Code Snippet:
<syncfusion:GridTemplateColumn MappingName="Country" syncfusion:VisualContainer.WantsMouseInput="True" >
<syncfusion:GridTemplateColumn.CellTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50"/>
<ColumnDefinition Width="55"/>
<ColumnDefinition Width="35"/>
</Grid.ColumnDefinitions>
<ComboBox Grid.Column="0" SelectedIndex="0"
ItemsSource="{Binding ComboItems,Source={StaticResource ordercollection}}" />
<ComboBox Grid.Column="1" SelectedIndex="0"
ItemsSource="{Binding ComboItems1,Source={StaticResource ordercollection1}}" />
<Button Grid.Column="2" Content="Btn-2" Click="Button_Click"/>
</Grid>
</DataTemplate>
</syncfusion:GridTemplateColumn.CellTemplate>
</syncfusion:GridTemplateColumn>
|
If your requirement is different from this, could you please share some more information about your requirement clearly ?. This would be more helpful for us to proceed further.
Regards,
Muthukumar K