GibbsConsulting / django-plotly-dash

Expose plotly dash apps as django tags
MIT License
538 stars 121 forks source link

DataTable in full height #471

Open seszele64 opened 11 months ago

seszele64 commented 11 months ago

Is there any way to render datatable in full height without it being truncated via scrolling?

Example of how it looks like: image

I noticed it is due to "relative" position parameter in div enclosing the embeded iframe, however it is set by default and i dont know a way to change it. image

When you remove the relative, it reverts to full height table. image

Hoping to see an answer, cya!

delsim commented 11 months ago

@seszele64 which template tag are you using to render the app? The plotly_dash tag at the moment does insert relative position; it would be straightforward to make this optional.

seszele64 commented 10 months ago

Yes, indeed. In case anybody wants to find it and edit according to their needs, the directory is: django_plotly_dash/templatetags/plotly_dash.py

image