This is a migrated thread and some comments may be shown as answers.

RadGrid Header with 2 lines

1 Answer 158 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 08 Feb 2017, 12:57 PM

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.

1 Answer, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 09 Feb 2017, 06:35 PM
The support is very slow.  Finally figured it out.  I put 2 <BR /> in line and that worked.
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
Share this question
or