Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
142610 | Feb 12,2019 09:12 AM UTC | Feb 16,2019 06:58 AM UTC | WPF | 3 |
![]() |
Tags: GridDataControl |
Dear
Support-Team,
I am using
the syncfusion:GridDataControl with a GridDataVisibleColumn(CellTypeEnum="ComboBox",
DisplayMember and ValueMember are different).
When I am
trying to use the ExportToExcel()-Method, in Excel the cells of the
ComboBox-column are empty inside the WPF-Grid the right values are displayed.
How can I export
the right values to Excel?
Regards
Bernhard
Korn
Consultant
Thanks for the answer and the sample-solution. The sample works fine, but in my application I can´t use a static Resource for the ComboBox-ItemsSource-Property, I must bind it to an ObservableCollection provided by the ViewModel of the DataContext.
Because the ComboBox-ItemsSource-Property is not bindable, I decided to create my own GridDataVisibleColumn, the BindableGridDataComboBoxVisibleColumn, that works fine, until exporting the values to Excel.
Regards
Bernhard Korn
Consultant
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.
This page will automatically be redirected to the sign-in page in 10 seconds.