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

bind sfgrid to ObservableCollection<ExpandoObject>


It is possible to bind an sfgrid to ObservableCollection()?
I have already populate an ObservableCollection() with auto columns but nothing appears on the grid.


6 Replies

GP Giorgos Papadakis December 15, 2015 02:10 PM UTC

where ObservableCollection() i mean ObservableCollection<ExpandoObject>()

PK Prasanth Karthikeyan Syncfusion Team December 16, 2015 10:06 AM UTC

Hi Giorgos Papadakis,

Thank you for contacting Syncfusion Support.

We have analyzed your requirement for "Dynamic Binding". We have already considered this requirement as a feature and currently working on it. This feature will be available in our Volume 4, 2015 main release which is scheduled to be released by the second week of January, 2016.


VA Valentin April 4, 2016 10:37 AM UTC

my question is if sfgrid for xamarin.forms now supports binding to dynamic columns/data?
And if so, please providea few lines of code how to use the function.

SL Sathya Lakshmanan Syncfusion Team April 5, 2016 12:41 PM UTC

Hi Valentin,

We have analyzed your requirement. Currently there is no support for Dynamic Binding in Xamarin.Forms. It is a limitation of the Xamarin product without a JIT. Hence SfDataGrid for Xamarin.Forms too does not support Dynamic Binding. For more details regarding this, please refer the below Bugzilla link.

Bug Link: https://bugzilla.xamarin.com/show_bug.cgi?id=37071

However, SfDataGrid for Xamarin.Android supports dynamic binding and please let us know if you require any details on it.


VA Valentin April 5, 2016 12:58 PM UTC

Hi Sathya,
thank you for your response!
So currently it is not possible to create columns on runtime and fill them from an compex datastructure?


SL Sathya Lakshmanan Syncfusion Team April 6, 2016 12:32 PM UTC

Hi Valentin,

You can create columns in runtime in SfDataGrid when you are binding a static data source. Whereas, you cannot bind dynamic objects as data source in Xamarin.Forms since it is a limitation of the Xamarin product without a JIT.

Please let us know if you require further clarifications.


Live Chat Icon For mobile
Up arrow icon