You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ravi Kapoor <ra...@gmail.com> on 2010/07/07 19:43:47 UTC

Table Header issue with height attribute and sortable columns

I am having following issue with tables.

Create a table with height attribute (so that headers are fixed), sortable
columns and enough data for scrollbars to appear.
Now load the page, scroll down the table (the header will stay but data will
scroll) and once scrolled down, click on a sortable column header.

On click, the column data gets sorted properly, however the entire table
header slides up (as if it is still at the start of the data panel).

Has anybody else run into this issue? Any idea how to fix it?

Thanks for helping
Ravi

Re: Table Header issue with height attribute and sortable columns

Posted by Michael Kurz <mi...@gmx.at>.
Would help to know which component you are using - or did I miss something?

Regards
Michael

-------- Original-Nachricht --------
> Datum: Wed, 7 Jul 2010 13:43:47 -0400
> Von: Ravi Kapoor <ra...@gmail.com>
> An: MyFaces Discussion <us...@myfaces.apache.org>
> Betreff: Table Header issue with height attribute and sortable columns

> I am having following issue with tables.
> 
> Create a table with height attribute (so that headers are fixed), sortable
> columns and enough data for scrollbars to appear.
> Now load the page, scroll down the table (the header will stay but data
> will
> scroll) and once scrolled down, click on a sortable column header.
> 
> On click, the column data gets sorted properly, however the entire table
> header slides up (as if it is still at the start of the data panel).
> 
> Has anybody else run into this issue? Any idea how to fix it?
> 
> Thanks for helping
> Ravi