I''ve recently upgraded from Suite 188.8.131.52 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
Me.grdData.Model.Cols.Hidden(oCol.MappingName) = False
Thanks very much in advance,
ADAdministrator Syncfusion Team July 28, 2005 05: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.
DSDamien SawyerJuly 28, 2005 06: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?
ADAdministrator Syncfusion Team July 28, 2005 07:29 PM
There are 2 issues already logged in our defects database regarding hidden columns.
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.