Skip to content

[feature request] how to work with child rows (show extra / detailed information) #362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
danieltomasz opened this issue Mar 27, 2025 · 2 comments

Comments

@danieltomasz
Copy link

As I understood from documentation, itablesis a wrapper for datatables.net.
There exist this option to show "child rows" https://datatables.net/examples/api/row_details.html what would be need to use this approach in itables?

@mwouts
Copy link
Owner

mwouts commented Mar 30, 2025

Hi @danieltomasz , thanks for asking.

At first sight it seems that this is a very specific need, so I can tell you how to get started: you would need to modify the html template, name the table object and allow passing a post-dt-code code block.

The limitations that I foresee are:

  • the data shown in the row details might have to come from the table itself
  • this won't work in the apps (Jupyter Widget etc) where we can't pass JS code

@danieltomasz
Copy link
Author

Thanks for the reply, I will try to play with it a bit and see if I can have a concrete questions;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants