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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

6842 Aug 31,2003 01:26 AM UTC Aug 31,2003 10:18 PM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 31, 2003 01:26 AM UTC

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 08:13 AM UTC

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 10:18 PM UTC

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.

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

;