Table column add prop: resizable, Table add event @on-column-width-resize
This commit is contained in:
parent
f8e7e08720
commit
aa14a697fb
4 changed files with 136 additions and 0 deletions
|
@ -25,6 +25,15 @@
|
|||
box-sizing: border-box;
|
||||
//position: relative;
|
||||
|
||||
&-resize-line{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 1px;
|
||||
border-right: 1px dashed @border-color-split;
|
||||
}
|
||||
|
||||
&-hide{
|
||||
opacity: 0;
|
||||
}
|
||||
|
@ -75,6 +84,22 @@
|
|||
|
||||
&-header{
|
||||
overflow: hidden;
|
||||
thead{
|
||||
tr{
|
||||
th{
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
&-resizable{
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
height: 100%;
|
||||
bottom: 0;
|
||||
right: -5px;
|
||||
cursor: col-resize;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
&-body{
|
||||
//overflow: auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue