flexgrid : Header orientation ?

Posted by: olivier941 on 11 October 2017, 6:46 am EST

  • Posted 11 October 2017, 6:46 am EST

    Hello

    in ASP.Net, with flexgrid, is it possible to change the header text orientation ?

    see attachement.

    thanks
    olivier

  • Marked as Answer

    Replied 12 October 2017, 6:03 am 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
  • Replied 4 September 2018, 6:30 pm 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.
  • Replied 4 September 2018, 11: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
  • Replied 10 December 2018, 6:34 am EST

    To set word wrapping in a header or fixed row, set the Height and WordWrap properties.

    1. 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.

    2. 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.

    3. 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.

    4. In Code
    Add the following code to the Form_Load event:
    Me.C1FlexGrid1.Styles("Fixed").WordWrap = True


  • Replied 11 December 2018, 5:32 am EST

    saxenarahil90, Thank you for the information. We are sure that others will also benefit from this
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels