Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
How to change style of the column header.
posted

Hello,

i wnat to change the backcolor of the specific column at run time.

i am using

  ----------------------------------------------------------------------------------------------------------------------------------------------------------------

Protected Sub grdMergeAccount_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.LayoutEventArgs) Handles grdMergeAccount.InitializeLayout
     

        grdMergeAccount.Columns(0).DataType = "String"

        e.Layout.Bands(0).Columns(0).Header.Style.CssClass = "redCol"
        e.Layout.Bands(0).Columns(0).Header.Style.BackColor = Drawing.Color.Red

     
End Sub

 ----------------------------------------------------------------------------------------------------------------------------------------------------------------

but it does not changes any way.

 

Waiting for reply,

Thanks,

 

 

Parents
No Data
Reply Children
No Data