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
225
cell formatting
posted

I have a column where each cell has different format. How do I achieve it ?

 

Parents
  • 4555
    posted

    you can handle the Grid's InitializeRow event and access each cell by its index, and use the appearance object. Your code would look similar to:

     

    Private

     

    Sub grdItems_InitializeRow(ByVal sender As System.Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeRowEventArgs) Handles grdItems.InitializeRow

    e.Row.Cells(0).Appearance.BackColor = Color.Blue

     

     

    End

    Sub

     

Reply Children