Hello,
Scenario: In radgrid,
1. Frozen columns is set to 3
2. <Scrolling AllowScroll="true" SaveScrollPosition="true" />
3. ColumnResizing : <Resizing ClipCellContentOnResize="false" AllowColumnResize="True" EnableRealTimeResize="false" ResizeGridOnColumnResize="false" AllowResizeToFit="true"></Resizing>
In the below mentioned server side event, when I set the HeaderStyle.Width of a clolumn, the Frozen column stops working in all browsers
Protected Sub dgEscrow_PreRender(sender As Object, e As EventArgs)
Dim visibleCols As Int32 = 0
Dim lstIndex As New List(Of Integer)
For Each col As GridColumn In dgEscrow.MasterTableView.Columns
If col.Visible Then
visibleCols = visibleCols + 1
lstIndex.Add(col.OrderIndex)
End If
Next
Dim lastVisibleCol As GridColumn = dgEscrow.MasterTableView.GetColumn(dgEscrow.MasterTableView.Columns(lstIndex(visibleCols - 1) - 2).UniqueName)
lastVisibleCol.HeaderStyle.Width = Unit.Pixel(137)
''dgEscrow.MasterTableView.Columns(lstIndex(visibleCols - 1) - 2).HeaderStyle.Width = Unit.Pixel(137)
'dgEscrow.MasterTableView.Columns(lstIndex(visibleCols - 1) - 2).ItemStyle.Width = Unit.Pixel(137)
End Sub
Can you please suggest by which I can solve this problem
Please reply at the earliest because I need to provide the fix..