固定列和checkbox一起使用
This commit is contained in:
parent
a1d039fc51
commit
6714dbce76
|
@ -20,3 +20,8 @@
|
|||
.selected{
|
||||
background: rgb(227,242,253);
|
||||
}
|
||||
|
||||
.demo25{
|
||||
width: 500px;
|
||||
height: 100%;
|
||||
}
|
|
@ -114,12 +114,12 @@ class Demo25 extends Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
return <DragColumnTable columns={columns25} data={data25}
|
||||
return <div className="demo25"><DragColumnTable columns={columns25} data={data25}
|
||||
bordered
|
||||
dragborder={true}
|
||||
scroll={{x:700}}
|
||||
multiSelect={{type: "checkbox"}}
|
||||
/>;
|
||||
/></div>
|
||||
}
|
||||
}
|
||||
Demo25.defaultProps = defaultProps25;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -476,7 +476,6 @@ class Table extends Component{
|
|||
}
|
||||
|
||||
getLeftFixedTable() {
|
||||
debugger;
|
||||
return this.getTable({
|
||||
columns: this.columnManager.leftColumns(),
|
||||
fixed: 'left',
|
||||
|
|
|
@ -39,7 +39,6 @@ class TableHeader extends Component{
|
|||
let newItem = item.key != "checkbox"?ObjectAssign(item):item;
|
||||
_row.push(newItem);
|
||||
});
|
||||
debugger;
|
||||
this.drag.data = _row;//JSON.parse(JSON.stringify(this.props.rows[0]));
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue