Is it possible to use DataTables when you need rows within rows?
Is it possible to use DataTables when you need rows within rows?
Hi
I am writing a Java Web App in which I need to display information received in XML form. At the moment I am just using HTML / JS / CSS to create a table. The problem is I would love to have the amazing functionality which is included but I need to display rows within some rows. Let me illustrate the point.
I have returned to me a list of client interactions. Each interaction will have 6 unique fields but it will also then have a list of transactions which belong to a particular interaction. Each transaction will have 5 unique fields but will then have a list of reference numbers. So I sort of have a Grandparent, Parent, Child relationship between the data. I need the data to be formatted properly so that when viewing the table it is obvious that a particular list of reference numbers belongs to a transaction and that a particular list of transactions belongs to a particular interaction.
Hopefully someone can tell me if it is possible to handle this Data in DataTables to save me writing a custom handler.
Unfortunately I do not have a page to show as I work with sensitive materials.
Here is the current code for producing the table:
[code]
[/code]
I am writing a Java Web App in which I need to display information received in XML form. At the moment I am just using HTML / JS / CSS to create a table. The problem is I would love to have the amazing functionality which is included but I need to display rows within some rows. Let me illustrate the point.
I have returned to me a list of client interactions. Each interaction will have 6 unique fields but it will also then have a list of transactions which belong to a particular interaction. Each transaction will have 5 unique fields but will then have a list of reference numbers. So I sort of have a Grandparent, Parent, Child relationship between the data. I need the data to be formatted properly so that when viewing the table it is obvious that a particular list of reference numbers belongs to a transaction and that a particular list of transactions belongs to a particular interaction.
Hopefully someone can tell me if it is possible to handle this Data in DataTables to save me writing a custom handler.
Unfortunately I do not have a page to show as I work with sensitive materials.
Here is the current code for producing the table:
[code]
[/code]
This discussion has been closed.