locked
Pin header on list - possible? RRS feed

  • Question

  • I need the header on a list control (containing column names) to remain static during scrolling (like you can with table/matrix controls)

    Does anyone know of a workaround for this?
    Monday, October 1, 2007 9:32 AM

All replies

  • The fixed header feature is only available for table and matrix.

     

    Can't you just simulate the list by a table?

    Alternatively, add a table with a table group header (grouped based on a constant value), and then add a list into the table group header.

     

     

    -- Robert

    Tuesday, October 2, 2007 3:49 AM
  • I tried having a table with one row containing the column names, another row containing the values and the final row having all the cells merged.

    It wouldn't let me put another table inside the merged row.

    Or do you mean the table to just have one very wide column?
    row1 = col name text boxes
    row2 = value text boxes
    row3 = table with child data
    Wednesday, October 3, 2007 8:27 AM
  • Try a table with one very wide column.

     

     

    -- Robert

    Sunday, October 14, 2007 12:52 AM
  • It doesn't seem to like multiple textboxes inside one table cell.

    If I try dragging more than one textbox into the cell it won't let me drop.

    If I do then one at a time, then the textbox expands to fit the cell, and the second one appear to overwrite the first


    Monday, October 15, 2007 2:05 PM
  • It's not particularly clear from my posting what I'm trying to achieve.

    I have parent-child data, with each having different column headers.

    e.g.

    ParentColHeader1 - ParentColHeader2 - ParentColHeader3 [this to be static/nonscrolling]
    Row1ParentDataValue1 - ParentDataValue2 - ParentDataValue3

    ChildColHeader1 - CCH2 - CCH3 |
    Row1ChildColVal1 - CV2 - CV3  |
    Row2...                       | - this part is a collapsable table,
    RowN...                       |   everything else is textboxes/rectangles

    Row2ParentDataValue1 - ParentDataValue2 - ...
    ChildColHeader1 - CCH2 - CCH3
    Row1ChildColVal1 - CV2 - CV3
    Row2...                                             ditto
    RowN...

    repeat....

    RowNParentDataValue1 - Parent....                   ditto


    Monday, October 15, 2007 2:13 PM