The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team July 28, 2005 10:26 AM UTC
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 11:47 PM UTC
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 29, 2005 12:29 AM UTC
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.