Split a “big” table to smaller tables

前端 未结 4 1792
走了就别回头了
走了就别回头了 2021-01-06 09:01

I would like to split a \"big\" table (a lot of columns) to smaller tables every for example 2 columns.

Is there an easy way to do that?

I only have the tab

4条回答
  •  滥情空心
    2021-01-06 09:20

    This is much simpler.

    1) Mark the TR:

    some
    

    2) Split the table:

    document.body.innerHTML = document.body.innerHTML.replace(/
         
     
    热议问题