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.

How to insert or delete a cloumn in gridControl at design time?

Thread ID:

Created:

Updated:

Platform:

Replies:

6842 Aug 30,2003 09:26 PM Aug 31,2003 06:18 PM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 30, 2003 09:26 PM

I want to set a column Style,but alwaly failed.And the VS.Net became unresponsable .So I want to delete the column and leave other columns untouched.How to do it?Thx.

Administrator [Syncfusion]
Replied On August 31, 2003 04:13 AM

In 1.6.1.x, I did not have a problem setting a column style, either in interactive mode or global mode. You might check whether you have some setting set to be readonly that might be affecting this. As far as removing a column, currently you cannot do this at design time. You can hide a column (be in interactive mode, and size the column to zero width by dragging the column header border), you cannot actually delete it. I did not actually try this, but I think you could delete the column at runtime, save a template file (Model.SaveBinary), and then load this template at design time, effectively removing a column from your designable grid.

Administrator [Syncfusion]
Replied On August 31, 2003 06:18 PM

At first,I dragged the bad column to the last column location.Then set the colCount=colCount-1.So,the column disappears.Restore the colCount=colCount+1,and drag the new column to the old location.OK,the problem was resolved:)

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.

;