https://github.com/k186/pd-table-row-span
Automatic table rowspan
https://github.com/k186/pd-table-row-span
auto-rowspan automation rowspan table table-row-span
Last synced: 8 months ago
JSON representation
Automatic table rowspan
- Host: GitHub
- URL: https://github.com/k186/pd-table-row-span
- Owner: k186
- License: mit
- Created: 2018-03-01T05:56:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-01T08:12:27.000Z (over 8 years ago)
- Last Synced: 2025-01-16T22:26:01.214Z (over 1 year ago)
- Topics: auto-rowspan, automation, rowspan, table, table-row-span
- Language: JavaScript
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# table-row-span
Automatic rowspan based on the content of the table
### demo
```
open demo.html in browser
```
### rowspan Rules


### jquery
```javascript
$('#table-merge').PdTableRowSpan()
```
### options
```javascript
$('#table-merge').PdTableRowSpan({
tags:'td',// compare tags
verticalAlign:'middle', //rowspan style 【middle top bottom】
from:2,// compare start col ,start from 1
to:4// compare end col,start from 1
})
```
### destroy
```javascript
$('#table-merge').PdTableRowSpan('destroy')
```
### License
This plugin is available under [the MIT license](http://mths.be/mit).