Feature-request: 'sticky table header'

21 views
Skip to first unread message

m.meier

unread,
May 3, 2011, 3:43:33 AM5/3/11
to tkhtml3
Hello,

Im not sure if this ist he right place for but maybe sombody can help:


I would like to have an option (-stickyheader false|true ) for the
html-widget which does the following:

If set to 'false' nothing changes.

If set to 'true' and the viewport contains part of a table and the
table has a <thead> the table-header should be held on top of the
viewport as long as a part of the table is shown (i.e. like a header
in Excel)

I.E. the table is

<table>
<thead><th>Header</th></thead>
<tr><td>row1></td></tr>
<tr><td>row2></td></tr>
<tr><td>row3></td></tr>
<tr><td>row4></td></tr>
<tr><td>row5></td></tr>
</table>


which is shown as

-------------------------
Header
row1
row2
row3
row4
row5
-------------------------

as you scroll down it is shown as

-------------------------
Header
row2
row3
row4
row5
-------------------------

and then

-------------------------
Header
row3
row4
row5
-------------------------


Maybe somebody could give me some hints which functions have to be
modified for this?

Matthias
Reply all
Reply to author
Forward
0 new messages