Groups within a table?
Groups within a table?
ministrypixel
Posts: 12Questions: 0Answers: 0
I have setup a sermon table that load the sermon series and sermons within that series. The structure should look like this:
SERIES 1
Message 1
Message 2
SERIES 2
Message 1
Message 2
Message 3
and so on....
Below is my code setup:
[code]
Subtitle
Passage
Date
SERIES TITLE
MESSAGE TITLE
SCRIPTURE
DATE
EMPTY SPACING
[/code]
The following is my setup:
[code]
$(document).ready(function() {
$('#sermons_all').dataTable( {
"bStateSave": false,
"aaSorting": [
[2,'desc']
],
"aoColumns": [
null,
null,
{ "sType": "date" }
]
} );
} );
[/code]
Since it is more of a complex setup, it seems to not want to keep series and messages together: http://compassbiblechurch.tryhifi.com/ministries/pastor-mike?show=all_sermons# This may not even be possible, but it's worth a shot. Thanks in advance for your help!
SERIES 1
Message 1
Message 2
SERIES 2
Message 1
Message 2
Message 3
and so on....
Below is my code setup:
[code]
Subtitle
Passage
Date
SERIES TITLE
MESSAGE TITLE
SCRIPTURE
DATE
EMPTY SPACING
[/code]
The following is my setup:
[code]
$(document).ready(function() {
$('#sermons_all').dataTable( {
"bStateSave": false,
"aaSorting": [
[2,'desc']
],
"aoColumns": [
null,
null,
{ "sType": "date" }
]
} );
} );
[/code]
Since it is more of a complex setup, it seems to not want to keep series and messages together: http://compassbiblechurch.tryhifi.com/ministries/pastor-mike?show=all_sermons# This may not even be possible, but it's worth a shot. Thanks in advance for your help!
This discussion has been closed.
Replies
have you seen this page?
http://www.datatables.net/examples/advanced_init/row_grouping.html