Current filter:
                                You should refresh the page.
                                  • Dear Support,

                                    I am trying to display column name in full. If column name is long and can't display it in single row, it can be displayed in two rows or even three rows. When I re-size column name, it just gets hidden by resizing column. As attached and highlighted in red circle, first circle should show 'WellId Awwid' in two rows. Same with second. Third circle can be shown in two or even three rows in height. Here is code

                                    [C#]
                                    @using Splitter_Map_Gridview2.Models @model ViewModel @Html.DevExpress().GridView( settings => { settings.Name = "GridView"; settings.CallbackRouteValues = new { Controller = "Home", Action = "GridViewPartialView" }; settings.KeyFieldName = "WellId"; settings.Width = System.Web.UI.WebControls.Unit.Percentage(100); //settings.Height = System.Web.UI.WebControls.Unit.Percentage(100); settings.Settings.VerticalScrollBarMode = ScrollBarMode.Auto; //settings.Settings.VerticalScrollableHeight = 100; //settings.Settings.HorizontalScrollBarMode = ScrollBarMode.Auto; settings.SettingsBehavior.AllowFocusedRow = true; settings.Columns.Add("WellId", "WellId Awwid"); settings.Columns.Add("Lat", "Latitude Awwid"); settings.Columns.Add("Lon", "Longitude Awwid"); settings.Columns.Add("Top", "Top Depth Awwid"); settings.Columns.Add("Base", "Base Depth Awwid"); settings.Columns.Add("Depth", "TotalDepthWellIdAwwid"); settings.Columns.Add("TestType", "TestTypeAwwid"); settings.Columns.Add("Transformer", "Test Transformer Number"); // Paging //settings.SettingsPager.Mode = GridViewPagerMode.ShowAllRecords; settings.SettingsPager.Position = PagerPosition.Bottom; settings.SettingsPager.FirstPageButton.Visible = true; settings.SettingsPager.LastPageButton.Visible = true; settings.SettingsPager.PageSizeItemSettings.Visible = true; // Column settings.SettingsResizing.ColumnResizeMode = ColumnResizeMode.NextColumn; settings.SettingsResizing.Visualization = ResizingMode.Live; settings.SettingsBehavior.AllowEllipsisInText = false; // Event settings.ClientSideEvents.Init = "OnInit"; settings.ClientSideEvents.EndCallback = "OnEndCallback"; }).Bind(Model.MyList).GetHtml()

                                    I attached snapshot of image.

                                    Thank you
                                    Jaeyoung

                                1 Solution

                                Creation Date Importance Sort by

                                Hi Jaeyoung,

                                To wrap headers' text, you can set the following property:

                                [C#]
                                settings.Styles.Header.Wrap = DefaultBoolean.True;

                                Let me know if you have additional questions.

                                • Jaeyoung Suh 1 01.14.2020

                                  Thank you Marina.
                                  That's what I needed. You can go ahead and close this ticket.

                                  Jaeyoung

                                • Marina (DevExpress Support) 01.14.2020

                                  You are welcome!