javascript - How can I let a table's body scroll but keep its head fixed in place? -


i writing page need html table maintain set size. need headers @ top of table stay there @ times need body of table scroll no matter how many rows added table. think mini version of excel. seems simple task every solution have found on web has drawback. how can solve this?

i had find same answer. best example found http://www.cssplay.co.uk/menu/tablescroll.html - found example #2 worked me. have set height of inner table java script, rest css.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -