Scrollable table widget with fixed header

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mel

    #1

    Scrollable table widget with fixed header

    Scrollable table widget with fixed header

    is there such thing ?

    thanks,
    Mel


  • Michael Schmitt

    #2
    Re: Scrollable table widget with fixed header

    Mel wrote:
    [color=blue]
    > Scrollable table widget with fixed header
    >
    > is there such thing ?
    >
    > thanks,
    > Mel
    >
    >[/color]
    no, but you can 'build' such widgets just by using <div> elements as
    containers for tables and using CSS. No J(ava)Script required.

    cu, Michael

    Comment

    • Thomas 'PointedEars' Lahn

      #3
      Re: Scrollable table widget with fixed header

      Michael Schmitt wrote:[color=blue]
      > Mel wrote:[color=green]
      >> Scrollable table widget with fixed header
      >>
      >> is there such thing ?
      >> [...][/color][/color]

      <http://learn.to/quote>
      [color=blue]
      > no, but you can 'build' such widgets just by using <div> elements as
      > containers for tables[/color]

      No. The goal was a *fixed header*. To achieve that with `div' elements
      you would need to have the `div' element as a direct descendant of the
      `table' element which creates invalid HTML as `div' is not part of
      `table''s content model.
      [color=blue]
      > and using CSS. No J(ava)Script required.[/color]

      Correct:

      <table>
      <thead>
      ...
      </thead>

      <tfoot>
      ...
      </tfoot>

      <tbody style="height:5 0%; overflow:scroll ">
      ...
      </tbody>
      </table>

      Alas, this still waits for implementation in some widely used browsers.


      PointedEars

      Comment

      Working...