RadGrid Header with 2 lines

2 posts, 0 answers
  1. Mark
    Mark avatar
    82 posts
    Member since:
    Jan 2015

    Posted 08 Feb 2017 Link to this post

    In ItemDataBound I do this:

    Private Sub grdSummary_ItemDataBound(sender As Object, e As GridItemEventArgs) Handles grdSummary.ItemDataBound         '**************     

        For Each item As GridHeaderItem In grdSummary.MasterTableView.GetItems(GridItemType.Header)                 

                   For intLcv = 2 To item.Cells.Count - 1                     

                       If IsDate(item.Cells(intLcv).Text) And Not item.Cells(intLcv).Text.Contains(vbCrLf) Then                      

                           item.Cells(intLcv).Text = item.Cells(intLcv).Text & vbCrLf & CDate(item.Cells(intLcv).Text).ToString("ddd").ToString                     

                        End If                 

                  Next             
         Next

    End Sub

     

    The problem is the Date and day are right next to each other.  I need about 1-2 px between

    Is there any way to do this?  I have attached a screen shot.

  2. Mark
    Mark avatar
    82 posts
    Member since:
    Jan 2015

    Posted 09 Feb 2017 in reply to Mark Link to this post

    The support is very slow.  Finally figured it out.  I put 2 <BR /> in line and that worked.
Back to Top