Sorting with two column header

Sorting with two column header

RajeswariRajeswari Posts: 1Questions: 0Answers: 0
edited August 2012 in DataTables 1.9
My table structure is http://live.datatables.net/odaher. And my debugging code is http://debug.datatables.net/efuzil. In my table header contains two columns with row span and colspan. In each row has value from two combined rows with row span and colspan. My questions are: 1. If my has rowspan or colspan data tables plugin not activating. Showing error as [quote]TypeError: Result of expression 'r' [undefined] is not an object.[/quote] How can i resolve this? 2. I need to sort by both rows in header. For example in my table structure, both the Student# and SSN headers should be sortable. As of now, sorting apply to one row only. (i.e bottom by default and by using "bSortCellsTop": true, it applys to top header. I need to apply for both. How can i achieve this? Please provide the details of references also. Thank you.
This discussion has been closed.