<?xml version="1.0" encoding="UTF-8" ?>
<dt-example table-type="html-complex-header" order="7">

<css lib="datatables" />
<js lib="jquery" />
<js lib="datatables" />

<title>Complex headers (rowspan and colspan)</title>
<js><![CDATA[
$(document).ready(function() {
	$('#example').DataTable();
} );
]]></js>

<info><![CDATA[

When using tables to display data, you will often wish to display column information in groups. DataTables fully supports `colspan` and `rowspan` in the table's header, assigning the required order listeners to the TH element suitable for that column.

Each column must have one TH cell which is unique to it for the listeners to be added. By default DataTables will use the bottom unique cell for the column to attach the order listener, if more than one cell for a column if found. The `dt-init orderCellsTop` option can be used to tell DataTables to use the top cell if you prefer.

The example shown below has two sets of grouped information, grouped by colspan in the header.

]]></info>

</dt-example>
