How to use rowspan and colspan in tbody using datatable.js?

前端 未结 7 1557
既然无缘
既然无缘 2020-11-29 06:36

Whenever I use , I get the following error:

Uncaught TypeError: Cannot set property \'_DT_CellIndex\'

7条回答
  •  孤独总比滥情好
    2020-11-29 07:07

    I don't know at what point, but I guess the fnFakeRowspan does not support the current DataTable version.

    For an alternative, checkout RowsGroup plugin.

    Found it pretty easy to implement and works well. Searching works perfectly, ordering doesn't.

    Check here for an implementation.

提交回复
热议问题