Closed brentgunderson closed 2 months ago
I am not sure why pagination is shown instead of buttons but if you configure the location, it will be shown:
show(
df.style.format({"longitude": "{:,.1f}"}),
buttons=["pageLength", "copyHtml5", "csvHtml5", "excelHtml5"],
layout = {"topStart":"buttons"}
)
Thank you @brentgunderson for the detailed report, and @joshy for the workaround! I will have a look soon - I would expect itables
to set the "buttons" on the layout too but apparently this is not the case here.
I just started using ITables, what a great package!
Interestingly, when I try to format a data frame, I seem to lose the ability to add export buttons.
Example below (ITables 2.0.0)