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.
Unfortunately, activation email could not send to your email. Please try again.

Binding GridComboBoxColumn CellTemplate to ItemsSource

Thread ID:

Created:

Platform:

Replies:

132453 Sep 3,2017 04:41 AM WPF 0
loading
Tags: SfDataGrid
Steve Schmutzler
Asked On September 3, 2017 04:41 AM

Hello together,

I don't get my Subject working, can sb helpf me with the following code?

<syncfusion:GridComboBoxColumn x:Name="Angebot_KundeColumn" MappingName="Angebot_Kunde" HeaderText="Kunde Nachname" SelectedValuePath="Kunde_ID" ItemsSource="{StaticResource KundenView}" >
                    <syncfusion:GridComboBoxColumn.CellTemplate>
                        <DataTemplate>
                            <StackPanel Orientation="Horizontal">
                                <Label Content="{Binding Kunde_Nachname}"></Label>
                                <Label Content=" - "></Label>
                                <Label Content="{Binding Kunde_Vorname}"></Label>
                            </StackPanel>
                        </DataTemplate>
                    </syncfusion:GridComboBoxColumn.CellTemplate>
                </syncfusion:GridComboBoxColumn>

Why is "Binding Kunde_Nachname" and "Binding Kunde_Vorname" not working? With DisplayMemberPath everything works fine.

Thanks for ur help.

Best regards
Steve

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;