0

It's very difficult to fix thead or table column with css. So how do I use javascript to write a universal function?

Just like this

$('#ele').fixedHeader();

or

var table = new Table();
table.fixed();
freedomn-m
  • 27,664
  • 8
  • 35
  • 57
vonfly
  • 71
  • 6
  • _“It's very difficult to fixed thead or table column on css”_ - No Sh*t, Sherlock. That’s why lots of articles on this topic already exist. But your “question” doesn’t sound like you did bother with either research or making an attempt of your own much. So please go read [ask] and [mcve] first, and then edit your question accordingly. – CBroe Jul 18 '18 at 06:57
  • please post your question in proper way with code and images. – sukumar2267 Jul 18 '18 at 06:58
  • 1
    See that `Search...` box at the top? https://stackoverflow.com/questions/673153/html-table-with-fixed-headers – freedomn-m Jul 18 '18 at 07:03

0 Answers0