Combobox in GridView doesn't show values or even look like a drop-down

0 Answers 101 Views
Grid
Pavel
Top achievements
Rank 1
Iron
Iron
Pavel asked on 08 Jul 2021, 03:18 AM

This is odd, I am using the latest SP1 libraries and have followed all the steps and only see this in the WPF application. The Activities column should look like a drop-down combo box when the green checkbox is showing. Obviously, I am missing something, but not sure what it is. I hope I can look at it fresh in the morning and figure it out, but if there are tips, please let me know.

My XAML has this definition for the column:

<telerik:GridViewComboBoxColumn Header="Activities" Width = "271" DataMemberBinding = "{Binding Description}" SelectedValueMemberPath = "SicCodeValue" DisplayMemberPath = "SicCodeDescription" IsLightweightModeEnabled="true" IsComboBoxEditable="True">
</telerik:GridViewComboBoxColumn>


and I set up my itemssource via code using the following line on data load:

(this.myList.Columns[2] as GridViewComboBoxColumn).ItemsSource = (ViewModel as MyViewModel).SicCodes;

Pavel
Top achievements
Rank 1
Iron
Iron
commented on 08 Jul 2021, 12:45 PM

Not sure why this showed up in the Kendo UI forum. Moving to the proper forum.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Pavel
Top achievements
Rank 1
Iron
Iron
Share this question
or