The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
My column header text is very lengthy, it is getting wrapped and get displayed. I don''t want the text to wrap. Instead, I would like to move the column header manually and see the text. How to remove the text wrapping in my header column.
Thanks for your reply. I wan''t to apply this for a row at one shot and also want to know how to apply for a particular cell.
Please help me out.
Thanks & Regards, Sathish.
ADAdministrator Syncfusion Team August 24, 2006 12:00 PM UTC
Hi Sathish,
GridControl :
Please refer to the GridStyleInfoAtWork browser sample for more details. \Syncfusion\Essential Studio\4.3.0.0\windows\Grid.Windows\Samples\Quick Start\GridStyleInfoAtWork\cs
GridDataBoundGrid:
By default, DataBoundGrid doesn''''t store any style info properties. You can not set any cell or row specific properties for the DataBoundGrid other than the CellValue.You need to handle the PrepareViewStyleInfo (or Model.QueryCellInfo) Event to do this.Through this event you can set the style properties for the grid.
To set the WrapText for a cell, you check for the e.RowIndex/e.ColIndex, if that points to the row you desired, set the e.Style.WrapText for it. Here is some code snippet.
For more details, See the below KnowledgeBase Articles: http://www.syncfusion.com/Support/article.aspx?id=10351 http://www.syncfusion.com/Support/article.aspx?id=560