Options

merge

An object containing columns that will be merged with other columns. In the below example columns with indexes
$2 and $3 will be merged with column $1 and column $6 will be merged with column $5.

// Example$('#my-table').resTables({
merge: {
1: [2, 3],
5: [6]
}
});

move

Default value: {}

An object containing columns that will be moved. In the below example column with index $1 will be placed at the top
of the new table (index $0) and column $6 as the second row with index $1.

// Example$('#my-table').resTables({
move: {
1:0,
6:1
}
});

skip

Default value: []

An array of columns that should be skipped in the cloned table. In the below example columns with indexes $3 and $5
will not be present in the new table.

// Example$('#my-table').resTables({
skip: [3, 5]
});

span

Default value: []

An array of columns that should be spanned - the colspan="2" attribute will be added. In the below example
columns with indexes $2 and $4 will have the colspan="2" attribute added and will appear as one cell.