提供两个Id共使用
This commit is contained in:
parent
043150368d
commit
4c979b5e65
|
@ -62,7 +62,7 @@ class Demo23 extends Component {
|
|||
draggable={true}
|
||||
|
||||
onDropBorder ={(e)=>{
|
||||
console.log("调整列宽后触发事件");
|
||||
console.log("调整列宽后触发事件",e.target);
|
||||
}}
|
||||
/>;
|
||||
}
|
||||
|
|
|
@ -692,7 +692,7 @@ class Table extends Component {
|
|||
}
|
||||
return <col key={c.key} style={{ width: width, minWidth: c.width }} className={fixedClass}/>;
|
||||
}));
|
||||
return <colgroup>{cols}</colgroup>;
|
||||
return <colgroup id="bee-table-colgroup">{cols}</colgroup>;
|
||||
}
|
||||
|
||||
renderDragHideTable = () => {
|
||||
|
@ -815,7 +815,7 @@ class Table extends Component {
|
|||
) : null;
|
||||
let _drag_class = this.props.dragborder ? "table-drag-bordered" : ""
|
||||
return (
|
||||
<table className={` ${tableClassName} table-bordered ${_drag_class} `} style={tableStyle} >
|
||||
<table id="bee-table-uid" className={` ${tableClassName} table-bordered ${_drag_class} `} style={tableStyle} >
|
||||
{/* {this.props.dragborder?null:this.getColGroup(columns, fixed)} */}
|
||||
{this.getColGroup(columns, fixed)}
|
||||
{hasHead ? this.getHeader(columns, fixed) : null}
|
||||
|
|
Loading…
Reference in New Issue