Home Forums WinForms controls Xceed Grid for WinForms Header row above columns??How?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #13149 |

    I want to have a description of what my datagrid is for. so like this is how it now

    Col1 Col1 Col 3
    Header Text
    Row
    Row
    Row
    Row
    Inserter

    But I want to have the fixed header above the column names because it looks better
    Header Text
    Col1 Col1 Col 3
    Row
    Row
    Row
    Row
    Inserter

    Imported from legacy forums. Posted by Thraka (had 2543 views)

    User (Old forums)
    Member
    Post count: 23064

    Instead of <b>adding</b> the row to FixedHeaderRows, try <b>inserting</b> it at position 0:<code>grid.FixedHeaderRows.Insert(0, myHeaderRow);</code>

    Imported from legacy forums. Posted by Tommy (had 214 views)

    User (Old forums)
    Member
    Post count: 23064

    doh! should have tried that! thanks!

    Imported from legacy forums. Posted by Thraka (had 3469 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.