Commit e9dc8a33 authored by zhangwenshuai's avatar zhangwenshuai

完善拖拽列功能

parent 49fb06fc
......@@ -142,6 +142,7 @@
bottom: 0;
background: rgba(0,0,0,0.3);
z-index: 5;
pointer-events: none;
//pointer-events: none;
display: none;
}
\ No newline at end of file
cursor: grab;
}
......@@ -317,9 +317,10 @@ export default class AirTable extends Component<TableProps, TableState> {
questionText,
icon,
requiredFlag,
orderNo,
} = showColumns[columnIndex];
return (
<DragSorted columnConfig={showColumns[columnIndex]} onDropFinish={onDragSorted} onScroll={this.onScrollHor} className={styles.headerCell} key={key} style={style}>
<DragSorted columnName={columnName} orderNo={orderNo} onDropFinish={onDragSorted} onScroll={this.onScrollHor} className={styles.headerCell} key={key} style={style}>
<ResizableBox
width={style.width}
handle={
......@@ -805,7 +806,7 @@ export default class AirTable extends Component<TableProps, TableState> {
}}
/>
</div>
<div id="columnCopyDiv" className={styles.columnCopyDiv} />
<div id="columnCopyDiv" className={styles.columnCopyDiv} draggable={true} />
</div>
);
}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment