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.
Syncfusion Feedback

bind sfgrid to ObservableCollection<ExpandoObject>

Thread ID:

Created:

Updated:

Platform:

Replies:

121438 Dec 15,2015 10:23 AM UTC Apr 6,2016 12:32 PM UTC Xamarin.Forms 6
loading
Tags: SfDataGrid
Giorgos Papadakis
Asked On December 15, 2015 10:23 AM UTC

Hi,

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

Giorgos

Giorgos Papadakis
Replied On December 15, 2015 02:10 PM UTC

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

Prasanth Karthikeyan [Syncfusion]
Replied On 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.

Regards,
Prasanth


Valentin
Replied On April 4, 2016 10:37 AM UTC

Hello,
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.

Sathya Lakshmanan [Syncfusion]
Replied On 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.

Regards,
Sathya

Valentin
Replied On 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?

Thanks

Sathya Lakshmanan [Syncfusion]
Replied On 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.

Regards,
Sathya

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.

Warning Icon 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.Close Icon

;