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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding visible columns at runtime

Thread ID:





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


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



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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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