Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
jquery-table-fixer
Advanced tools
TableHeadFixer is a simple [jQuery](http:/jquery.com/ "jQuery") plugin for fixer HTML tables header, footer or columns. This plugin will only add elements events and css attributes necessary for fix tables header, footer or columns, you can customiz
TableHeadFixer is a simple jQuery plugin for fixer HTML tables header, footer or columns.
This plugin will only add elements events and css attributes necessary for fix tables header, footer or columns, you can customize styles of your table, this plugin will not influence style of table (width, height, background, font color, etc...)
For use TableHeadFixer plugin, is require include jQuery in your page.
After included jQuery in your page, just include TableHeadFixer plugin and call .tableHeadFixer([param]) function after page rendered.
And table of fixed need has a div
, where included all size style.
// get your table with jQuery selector
$("#fixTable").tableHeadFixer();
By default, table header is fixed when .tableHeadFixer() function is called, if you need fix only footer or columns, is necessary disable head fix by parameter.
$("#fixTable").tableHeadFixer({'left' : 1, 'head' : false});
$("#fixTable").tableHeadFixer({'left' : 2, 'head' : false});
$("#fixTable").tableHeadFixer({'right' : 1});
$("#fixTable").tableHeadFixer({'foot' : true});
$("#fixTable").tableHeadFixer({'z-index' : 50});
For fix multiple rows in header or footer, is only add new tr
in the header or footer, all tr
is will be fixed.
For check more demos, please enter in the examples path.
attribute | values | default |
---|---|---|
head | true/false | true |
foot | true/false | false |
left | 1,2,3,4,etc | 0 |
right | 1,2,3,4,etc | 0 |
z-index | 10,50,999,etc | 0 |
For fixer table header, footer or columns, is important table contained in a div, where which has set height
, for fix header or footer, and set width
, for fix left or right columns. This is very important, after all, for fix any row or columns, is necessary a area limited for show table.
If fixed cells border is important for you, is necessary set table cells css border-collapse: separate
, because for css, when border-collapse: collapse
, cells border is not possible separate and maintain even position of fixed cells
FAQs
TableHeadFixer is a simple [jQuery](http:/jquery.com/ "jQuery") plugin for fixer HTML tables header, footer or columns. This plugin will only add elements events and css attributes necessary for fix tables header, footer or columns, you can customiz
The npm package jquery-table-fixer receives a total of 0 weekly downloads. As such, jquery-table-fixer popularity was classified as not popular.
We found that jquery-table-fixer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.