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.

Frozen Columns Not Working after Version updgrade

Thread ID:

Created:

Updated:

Platform:

Replies:

32360 Jul 28,2005 12:50 AM Jul 28,2005 08:29 PM Windows Forms 3
loading
Tags: GridControl
Damien Sawyer
Asked On July 28, 2005 12:50 AM

Hi, I''ve recently upgraded from Suite 2.0.5.0 to the latest version. In one of my databound grids, the frozen column feature has stopped working. I am using the following code. Me.grdData.Model.Cols.FrozenCount = 4 Any idea what might be wrong? I''m not sure if it will help, but the grid GridBoundColumns are generated in code. Also, at the time that the problem occurs, there are a number of columns which are hidden. I''m using the following code to hide/unhide columns on the toggling of a checkbox... For Each oCol As GridBoundColumn In Me.grdData.GridBoundColumns If oCol.Tag = "true" AndAlso Me.chkShowSortKeys.Checked = False Then Me.grdData.Model.Cols.Hidden(oCol.MappingName) = True Else Me.grdData.Model.Cols.Hidden(oCol.MappingName) = False End If Next Thanks very much in advance, Damien

Administrator [Syncfusion]
Replied On July 28, 2005 06:26 AM

If you comment out your hidden column code, do the frozen columns work as expected? If so, you can probably get things to work by setting grid.Model.ColsWidths(mappingname) = 0 instead of hiding the columns using the Hidden attribute.

Damien Sawyer
Replied On July 28, 2005 07:47 PM

Thanks Clay, that seems to work... Are we able to report it as a bug so that it''s fixed in the next version?

Administrator [Syncfusion]
Replied On July 28, 2005 08:29 PM

There are 2 issues already logged in our defects database regarding hidden columns. http://www.syncfusion.com/support/issues/grid/Default.aspx?ToDo=view&questId=147 http://www.syncfusion.com/support/issues/grid/Default.aspx?ToDo=view&questId=114 To handle these will require reworking the hidden column support. We plan on doing this, but I do not know a time frame for this work.

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.

;