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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

52426 Nov 28,2006 10:34 AM Nov 29,2006 01:07 AM Windows Forms 1
loading
Tags: Grouping
jamesb
Asked On November 28, 2006 10:34 AM

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 01:07 AM

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,
Haneef

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.

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.

;