Multi-Line Header Texts

2 posts, 0 answers
  1. bla
    bla avatar
    25 posts
    Member since:
    Aug 2020

    Posted 26 Aug 2020 Link to this post

    Can the behaviour of column header cell be changed to the following one?
    When there is no space to display the whole header text, the text shall be wrapped so that it spreads over 2 (or more) lines.

    (Initially now the text is cut off and 3 dots are added at the end.)
  2. Nadya
    Nadya avatar
    502 posts

    Posted 27 Aug 2020 Link to this post


    I noticed that you asked the same question about achieving multi-line header text in RadVirtualGrid in your other thread. Note that RadGridView and RadVirtualGrid are similar controls and they have similar formatting events when customizing cells/rows.

    In RadGridView there are CellFormatting/ViewCellFormatting and RowFormattng/ViewRowFormatting events. Please refer to the following documentation articles that would give more information about these events:

    If you want to wrap the header text in RadGridView you can use the TextWrap property of the cell element in the ViewCellFormatting event which is triggered for the header cells.

    I hope this information helps. If you have other questions do not hesitate to contact me.

    Progress Telerik

    Five days of Blazor, Angular, React, and Xamarin experts live-coding on , special prizes and more, for FREE?! Register now for DevReach 2.0(20).

Back to Top