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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding visible columns at runtime

Thread ID:

Created:

Updated:

Platform:

Replies:

97484 Dec 1,2010 04:32 PM UTC Dec 1,2010 06:57 PM UTC Silverlight 1
loading
Tags: GridControl
Alex Proteau
Asked On December 1, 2010 04:32 PM UTC

Hi,

I'm trying to add the columns at runtime, it works well but I cannot group or re-order the columns. Do I need to call a method to "initialize" the columns ?

I can give you more details on how I add the columns. I've created an attached property that allows to bind my ViewModel column list (observablecollection) to the VisibleColumns collection. This attach properties listen to the collection changed event to update the VisibleColumns collection.

BTW : I'm not a customer yet, I'm still evaluating your product

Regards,

Alex




Alex Proteau
Replied On December 1, 2010 06:57 PM UTC

You can close this post... my mistake! I was adding the column without the AllowDrag = true


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

;