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

Manually change ordering of columns in ggc that is bound to a datatable

Thread ID:





52426 Nov 28,2006 03:34 PM UTC Nov 29,2006 06:07 AM UTC WinForms 1
Tags: Grouping
Asked On November 28, 2006 03:34 PM UTC

This should be simple enough, but I can't get it to work in a consistent fashion.

I have a DataTable with the following columns in this order (col_A, col_B, col_C, col_D, col_E).

I bind this DataTable to the ggc. However, I want to display the columns in the ggc in this order and leave out some columns (col_B). For example, I want this ordering. I also want to customize the columns as I add them to the grid...

col_E, col_A, col_D, col_C

I am aware that VisibleColumns.Add + VisibleColumns.Remove should accomplish this, but what is the order in which I accomplish this?

Do I databind before I do add/remove columns or is it the other way around?

Administrator [Syncfusion]
Replied On November 29, 2006 06:07 AM UTC

Hi James,

Sorry for the inconvenience caused.

Before looking into your forum, we would like to know about your licence information. Could you please verify your license details with sales team Or sandras@syncfusion.com.

Thanks for your patience.

Best Regards,


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

or the page will be automatically redirected to 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