I have table like this: http://jsfiddle.net/A34tH/1/
<table id="fixed_hdr2">
<thead>
<tr>
<th colspan="5" rowspan="2"></th>
<th colspan="31">december</th></tr>
<tr>
<th>mon</th><th>th</th><th>we</th><th>tu</th><th>fr</th><th>sa</th><th>mon</th> <th>th</th><th>we</th><th>tu</th><th>fr</th><th>sa</th><th>mon</th><th>th</th><th>we</th><th>tu</th><th>fr</th><th>sa</th><th>mon</th><th>th</th><th>we</th><th>tu</th><th>fr</th><th>sa</th><th>mon</th><th>th</th>
</tr>
<tr>
<th>#</th>
<th>#</th>
<th>#</th>
<th>#</th>
<th>#</th>
<th>02</th><th>03</th><th>04</th><th>05</th><th>06</th><th>07</th><th>09</th><th>10</th> <th>11</th><th>12</th><th>13</th><th>14</th><th>16</th><th>17</th><th>18</th><th>19</th><th>20</th><th>21</th><th>23</th><th>24</th><th>25</th><th>26</th><th>27</th><th>28</th> <th>30</th><th>31</th>
</tr>
</thead>
[...]
<table>
I need to see first 3 rows and 5 columns always visible. Real table is bigger (more rows and cols). When You scroll such big table, You can't control headers (left and top) so working with table is horrible. Tried a lot of solutions to fix headers (above). None of them is not working properly with my table (I think problem is in colspan and rowspan. Some of them act almost but headers are shifted.
Does anyone know any solution to control the table headers? I'm out of ideas.
Tested:
- http://meetselva.github.io/fixed-table-rows-cols/
- http://jsfiddle.net/rCuPf/7/embedded/result/
http://meetselva.github.io/fixed-table-rows-cols/demo%20v0_01.html
- http://salzerdesign.com/blog/?p=191
- http://www.tablefixedheader.com/demonstration/
- http://jsfiddle.net/rCuPf/7/light/
- http://fixedheadertable.com/
- http://flexigrid.info/
- http://handsontable.com/index.html
- http://trentrichardson.com/examples/jQuery-Powertable/index.html
- http://agichevski.com/2013/10/22/jquery-fixed-table-header/
- http://jsfiddle.net/jmosbech/stFcx/