Locking Cell and Changing Cell Style UltraWebGrid
Refer this article for Column Locking / Freezing in Infragistics Ultra WebGrid
If you need to change background color for a frozen columns then ..
backcolor property must be changed first then cells have to be locked.
e.Layout.Bands(0).Columns(0).CellStyle.BackColor = Drawing.Color.Beige e.Layout.Bands(0).Columns(0).Header.Fixed = True
and in InitializeLayout of ultraWebgrid
Private Sub ultrawebgrid_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.LayoutEventArgs) Handles uwgCategory.InitializeLayout e.Layout.UseFixedHeaders = True End Sub
If I fix the columns, then the alignment of the columns and footer is distorted. Moreover, the last column is sliced off. It is shown partially.
Tushar
December 3, 2007 at 7:12 am
Please try adding this to InitializeLayout
Private Sub ultrawebgrid_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.LayoutEventArgs) Handles uwgCategory.InitializeLayout
e.Layout.UseFixedHeaders = True
End Sub
gchandra
December 3, 2007 at 10:02 am
Hi,
Is there any way I can freeze the rows also..i.e i show date in the first column. so 30 rows for 30 days and the first row should be frozen so that even if they scroll horizontally they should be able to see the date column of the row..Hope I am clear..Any suggestions???
Sairam
January 16, 2008 at 2:01 pm
Hola
Puedo identificar cuales fueron las celdas que cambiaron de color cuando el usuario hizo doble clik…
aun y cuando tengo la propiedad AllowUpdate = No
?????
Patricia
July 22, 2008 at 1:11 pm
Hi Tushar,
Did you overcome the issue of the alignment issue? I am havin the same issue.
Mani
August 11, 2009 at 7:42 am
Hi Mani, were you able to fix the issue? I am also facing the same.
P
September 24, 2009 at 2:46 pm