Posted 10 October 2017, 9:46 pm EST
Hello
in ASP.Net, with flexgrid, is it possible to change the header text orientation ?
see attachement.
thanks
olivier
Forums Home / ComponentOne / ASP.NET Web Forms Edition
Posted by: olivier941 on 10 October 2017, 9:46 pm EST
Posted 10 October 2017, 9:46 pm EST
Hello
in ASP.Net, with flexgrid, is it possible to change the header text orientation ?
see attachement.
thanks
olivier
Posted 11 October 2017, 9:03 pm EST
Hi Olivier,
If you are referring to the ASP.Net WebForm gridView, you can rotate grid content using CSS transform property.
Please use the following CSS definition for the same:
.wijmo-wijgrid .wijmo-wijgrid-headerrow .wijgridth > .wijmo-wijgrid-innercell {
overflow: hidden;
padding: 23px;
transform: rotate(-45deg);
}
~Manish
Posted 4 September 2018, 9:30 am EST
You can change this using the .net framework. For this, you can visit https://mailhelp.net/outlook-support/ to know which framework you should and how to use this.
Posted 4 September 2018, 2:57 pm EST
Hi,
Please let us know which database you are using and how you would like to connect. If you are using ASP.Net webform, please refer to the following tutorial:
https://www.tutorialspoint.com/asp.net/asp.net_database_access.htm
~Manish
Posted 9 December 2018, 9:34 pm EST
To set word wrapping in a header or fixed row, set the Height and WordWrap properties.
Set the Caption property for a column header in the grid.
In the Designer
Select a column in the grid. This will open the Column Tasks menu for that column.
In the Column Caption box, enter Word Wrapping in Header.
Alternatively, the Caption property can also be set using the C1FlexGrid Column Editor.
Open the C1FlexGrid Column Editor. For details on how to access the C1FlexGrid Column Editor, see Accessing the C1FlexGrid Column Editor.
Select a column in the right pane and set the Caption property in the left pane to Word Wrapping in Header.
Click OK to close the editor.
In Code
Add the following code to the Form_Load event.
Me.C1FlexGrid1.Cols(1).Caption = “Word Wrapping in Header”
Me.C1FlexGrid1.Rows(0).Height = 3 * Me.C1FlexGrid1.Rows.DefaultSize
Enable word wrapping for the fixed cells.
In the Designer
Open the C1FlexGrid Style Editor. For details on how to access the C1FlexGrid Style Editor, see Accessing the C1FlexGrid Style Editor.
Select Fixed in the Built-In Styles list.
Locate the WordWrap property in the right pane and set it to True.
Click OK to close the designer.
In Code
Add the following code to the Form_Load event:
Me.C1FlexGrid1.Styles(“Fixed”).WordWrap = True
Posted 10 December 2018, 8:32 pm EST
saxenarahil90, Thank you for the information. We are sure that others will also benefit from this