How do I merge values in a column? That make them appear merged rather than with heading?
How do I merge values in a column? That make them appear merged rather than with heading?
joshuap
Posts: 2Questions: 1Answers: 0
Link to test case: http://live.datatables.net/bodanole/6943/edit
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
This discussion has been closed.
Answers
You have
rowsGroup: [...]
which refers to a third party developed row grouping library. Notice thes
in rows. The Datatables library does not contain thes
. To use the Datatables library you will use therowGroup.dataSrc
to define the columns. You will also want to useorder
to order the columns defined in therowGroup.dataSrc
. Your example loads an old version of RowGroup (1.0.0) that doesn't. support multi level groups. You will want to use the latest. Plus you will want to load the rowGroup.css. See the updated example:http://live.datatables.net/wacavadu/1/edit
Take a look at the provided examples.
Kevin
Does this mean there is no way to achieve the merge that combines rows with the new Datatables version?
Datatables doesn't have a way to merge rows. It simply displays the rows as provided. You can group rows using the rowGroup extension and possibly make it look like merged rows. Or, maybe a better option, is to create a DB query that merges the rows the way you want.
Please provide more details of how you would like the rows to be merged.
Kevin