bootstrap-table icon indicating copy to clipboard operation
bootstrap-table copied to clipboard

希望表格能够用鼠标拖动选中多行

Open panther1942 opened this issue 4 years ago • 5 comments

Description

希望表格能够用鼠标拖动选中多行 就像这样 demo1

我做了一个简单的实现 但是不知道怎么加到table里 放到onPostBody里面 或者init方法后面没有反应

panther1942 avatar Aug 23 '21 07:08 panther1942

"I hope that the table can be dragged with the mouse to select multiple rows, like this gif I made a simple implementation, but I don’t know how to add it to the table Put it in on PostBody or there is no response after init method" Translation of issue no. (https://github.com/wenzhixin/bootstrap-table/issues/5841) fixes #5841 closes #5841

ghost avatar Sep 01 '21 02:09 ghost

Use multipleSelectRow to select the multiple selection row. Can use the ctrl+click to select one row or use shift+click to select a range of rows.

https://examples.bootstrap-table.com/index.html#options/multiple-select-row.html

wenzhixin avatar Sep 03 '21 15:09 wenzhixin

@wenzhixin We want's to select rows while the mouse button is down.

UtechtDustin avatar Oct 01 '21 18:10 UtechtDustin

@panther1942 麻烦提供下你的实现方法,用 https://live.bootstrap-table.com

wenzhixin avatar Oct 09 '21 10:10 wenzhixin

@panther1942 麻烦提供下你的实现方法,用 https://live.bootstrap-table.com

https://live.bootstrap-table.com/code/panther1942/9205

panther1942 avatar Oct 09 '21 11:10 panther1942