固定列和checkbox一起使用

This commit is contained in:
jonyshi 2018-06-25 00:40:21 +08:00
parent a1d039fc51
commit 6714dbce76
5 changed files with 10 additions and 7 deletions

View File

@ -20,3 +20,8 @@
.selected{
background: rgb(227,242,253);
}
.demo25{
width: 500px;
height: 100%;
}

View File

@ -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

View File

@ -476,7 +476,6 @@ class Table extends Component{
}
getLeftFixedTable() {
debugger;
return this.getTable({
columns: this.columnManager.leftColumns(),
fixed: 'left',

View File

@ -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]));
}