Child-row data specific to the parent row
Child-row data specific to the parent row
FaisaliDev
Posts: 5Questions: 1Answers: 0
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
"How can I make the Child-row data specific to the parent row data, so that when I open the sub-row, it contains data related to the parent row? I've tried a lot, but the data ends up being the same for all rows."
The table contains a modal button in each row for adding data into child row but when added it be same for each child row in table
This discussion has been closed.
Replies
Here is one example:
https://datatables.net/examples/api/row_details.html
And another one:
https://datatables.net/examples/api/row_details_stateSave.html
This is somewhat related to your topic: Parent - Child Editing
https://editor.datatables.net/examples/advanced/parentChild.html
Same with datatable field:
https://editor.datatables.net/examples/datatables/parentChild.html
Is there example with flask python ?
I am not aware of any such example
Here code :-
I hope to help me as soon as possible
https://dpaste.org/ZEKUo
If you can link to a running page showing the issue I can offer some help. I can't help with the Flask aspect, for that you'd need to ask of SO or a Flask specific forum, but I can help with the client-side DataTables code if you link to a test case.
Allan