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.

GridComboBoxColumn - Bind Different ItemSource per Row

Thread ID:





116051 Mar 24,2014 11:50 AM Apr 2,2014 10:27 AM WinRT 1
Tags: SfDataGrid
Andrew Verteramo
Asked On March 24, 2014 11:50 AM

I have a situation where I am dynamically creating a SfDataGrid, with a number of different types of Columns, also dynamically generated. In my ExpandoObject list there is a property which is also of the ExpandoObject list type. What I need to do is bind a different list to the ComboBox based on whichever value is bound to cell 1. I am running out of ideas... how can I accomplish this?

Pradeepa R V [Syncfusion]
Replied On April 2, 2014 10:27 AM

Hi Andrew,


Thank You for contacting Syncfusion Support.


Please find the response for your query.


Binding different list to ComboBox based on the value bound to the cell is possible and we can achieve it by using Converter.However this is not possible if we use DynamicCollection as mentioned by you.ComboBox itself doesn’t provide support to bind DynamicCollection.Here I have attached the sample where I have used ObservableCollection to create SfDataGrid with columns and different list is bind to ComboBox based on the value bound to the cell.


Please let us know if you have any concerns




Attachment: Binding_ComboBox_112a6387.zip


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.