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.

Reordering Columns in DataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

77598 Nov 8,2008 08:24 AM Nov 10,2008 06:56 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On November 8, 2008 08:24 AM

hi;
I Used a DataBoundGrid in my application.its data source is a dataset which fills with a store procedure.I add a new columns to the dataset by following code :
ds.Tables[0].Columns.Add(date);

the new column is not in my store procedure so it adds as last column.now i want replace it with another column in my dataset.Indeed i want move the new column into another column.
could you plz help me in this feature ?


Nisha Arockiya A [Syncfusion]
Replied On November 10, 2008 06:56 AM

Hi Shayesteh_bh,

Thanks for using Symcfusion Products.

There is a GridControl.AllowDrawSelectedCols propperty that you can set that controls whether the user can moved selected columns.

If you set this property, then if the user selects a single column by clicking the header cell (or select a range of columns by dragging the mouse over several column headers), he can then mouse down on the selected header and drag the columsn to a new position.

Let me know if this is not what you needed.

Regards,
Nisha



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.

;