Nested Tables
Nested Tables
chucka
Posts: 2Questions: 0Answers: 0
I would like to use a table inside a cell on a datatable for displaying an order's items. I'm not looking to do any sorting on this nested table, I just want to display the data as sorting is far more important by purchaser, date, location, and total cost. Would be nice to retain the filtering ability upon that cell's contents though. Anyway, my table looks similar to the code below. When I attempt to sort by either of the last two columns, it wrongly adds classes and sorts on the first (or second) of the nested columns instead of the neighboring parent column which I clicked the header for.
[code]
NameCityStateConfigurationsDate SubmittedQuote Total
Purchaser_Name
City
State
1
Item_Name
Item_Model
4
Item_Name1
Item_Model32
1
Item_Name3
Item_Model2324
Date_Submitted
$Price.00
[/code]
[code]
NameCityStateConfigurationsDate SubmittedQuote Total
Purchaser_Name
City
State
1
Item_Name
Item_Model
4
Item_Name1
Item_Model32
1
Item_Name3
Item_Model2324
Date_Submitted
$Price.00
[/code]
This discussion has been closed.
Replies
Inner tables should work no problem in DataTables. I've just put together a test page to check this: http://datatables.net/dev/inner_table.html . It appears to work as I would expect. Are you using DataTables 1.6.1? Could you put up a demo showing an example of it giving unexpected behaviour?
Thanks,
Allan
Regards,
Allan
Regards,
Allan