Showing Details - additional data

Showing Details - additional data

JarrodJarrod Posts: 1Questions: 0Answers: 0
edited May 2010 in General
I have a grid for a list of trainings available in the state. The grid columns show basic data about each training - 5 columns in all. My plan is to have a Show/Hide button that expands out details for the selected training that are not shown in the regular listing. I have the grid and the show/hide working properly, however I'm a little sketchy on how to load the additional data.

[code]"aaData": [
[ "Examine the Parent/Child Relationship", "5/17/2010", "8:00 AM", "4:00 PM", "Available"],
[ "Examine the Parent/Professional Relationship", "5/18/2010", "8:00 AM", "4:00 PM", "Available"],
[ "Examine the Professional/Collaborator Relationship", "5/19/2010", "8:00 AM", "4:00 PM", "Unavailable"],
[ "Examine the Professional/Professional Relationship", "5/20/2010", "8:00 AM", "4:00 PM", "Available"]
],
"aoColumns": [
{ "sTitle": "Session Name" },
{ "sTitle": "Date" },
{ "sTitle": "Start Time" },
{ "sTitle": "End Time" },
{ "sTitle": "Status" }
}
][/code]

The data loads correctly, and I can even show data in the details expansion so long as its in the dataset I provide by using aData[n]. I've tried adding additional columns of data to my array but when I do DataTable shows an alert that there are too many columns of data for the number of columns I've specified. I've looked through all the examples to figure this out but the answer is eluding me.

Thanks, and DT is the easiest datagrid I've ever used.
This discussion has been closed.