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

Reordering Columns in DataBoundGrid

Thread ID:





77598 Nov 8,2008 01:24 PM UTC Nov 10,2008 11:56 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On November 8, 2008 01:24 PM UTC

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 :

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 11:56 AM UTC

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.



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