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

Sorting on rowspan tbody breaks table

Open krassowski opened this issue 7 years ago • 5 comments

When sorting a table with data having a defined rowspan causes the "child" rows within the group of rows to disassociated and break rendered improperly. jsfiddle. Please see following animation:

ezgif-5-caeb0ca3a9

krassowski avatar Nov 22 '17 21:11 krassowski

Possibly related to: #3400, #2295 and #823.

krassowski avatar Nov 22 '17 21:11 krassowski

A less popular drvic10k/bootstrap-sortable manages to handles this case in a clever way, using as many duplicates of rowspan cells as needed to keep a table properly formatted: https://jsfiddle.net/jz5tnq4y/15/.

peek 2017-11-23 15-20 Here is the commit which enabled this, just as reference if @wenzhixin agrees on having this future in and someone was interested in implementing it: https://github.com/drvic10k/bootstrap-sortable/commit/0df36e981d102963dd08ac3db8b247e00286600d. Btw. the code is on MIT license too, so heavy inspiration should not be a problem (if acknowledged).

krassowski avatar Nov 23 '17 16:11 krassowski

Has there been any development on this issue?

vaibhav101 avatar Dec 05 '18 18:12 vaibhav101

@vaibhav101 Currently not, but any PR is welcome!

UtechtDustin avatar Apr 04 '19 19:04 UtechtDustin

Is there any update on this issue?

RShah512 avatar Apr 25 '24 02:04 RShah512