Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcosesperon/jquery.rowspanizer.js
Dynamic rowspan based on the content of the table
https://github.com/marcosesperon/jquery.rowspanizer.js
Last synced: about 2 months ago
JSON representation
Dynamic rowspan based on the content of the table
- Host: GitHub
- URL: https://github.com/marcosesperon/jquery.rowspanizer.js
- Owner: marcosesperon
- License: mit
- Created: 2016-02-29T10:35:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T15:50:21.000Z (about 3 years ago)
- Last Synced: 2024-05-28T12:52:24.360Z (4 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 30
- Watchers: 3
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# jquery.rowspanizer.js
Dynamic rowspan based on the content of the table![Example](http://i.imgur.com/qLRHlzV.png)
### Demo
An example with headers:### jQuery
Use the plugin as follows:
```js
$('table').rowspanizer();
```By default, `vertical-align: top` css style will be added. You can override default by passing the `vertical_align` option:
```js
$('table').rowspanizer({vertical_align: 'middle'});
```You can define columns to rowspanize:
```js
$('table').rowspanizer({columns: [0,1,2]});
```## Notes
* Requires jQuery 1.7+.
## License
This plugin is available under [the MIT license](http://mths.be/mit).