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

HierarchyNavigator column

Hi folks,

Can you provide an example for a grid with a HierarchyNavigator editable column?

I provide an example.

Cheers

Attachment: example_b5bf4a5f.7z

1 Reply

MK Muthukumar Kalyanasundaram Syncfusion Team July 18, 2017 02:49 AM UTC

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 



Loader.
Live Chat Icon For mobile
Up arrow icon