Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Scrollable Tables

#400

Small feature request:

Provide the option to have a fixed table head and scrolling tbody {scroll : true}

Here is an example of the desired effect: http://danvpeterson.com/aws/sites/my1p/unlocked.html

As you can see he needed to hack it into two tables. Would be really interesting to have something like this working on one table (and still work well with elasticity)

Reported by activestylus · November 7th, 2010 @ 12:25 AM

State: resolved
Milestone: none
Assigned to: MadRabbit MadRabbit

Activity

  1. MadRabbit
    MadRabbit

    afaik it's just a simple css hack like that

    tbody {
      overflow: auto;
      height: 100px;
    }
    

    it won't work without the user explicitly specifying the height of the table, so I don't see a reason why put it into the plugin, the user will have to do some css work anyways.

    November 7th, 2010 @ 10:52 AM

  2. activestylus
    activestylus

    I got this working on my own using getHeight and a little bit of voodoo.. how do I close a ticket here?

    November 12th, 2010 @ 02:47 AM

  3. MadRabbit
    MadRabbit
    • State changed from new to resolved

    done

    November 12th, 2010 @ 10:25 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.