Change export button text in Dash Datatable

Is it possible to change export button text in Dash Datatable to something like ‘download’?

Hello @pedromsouza,

Welcome to the community!

I dont know of a way to do this in the python side, however, you can do this with a css file:

.export {
    font-size: 0;
}

.export:before {
    font-size: 12pt;
    content: "download";
}

And you get this:

image

1 Like

Thanks! It worked fine

1 Like

You can also make it an icon through Font Awesome. :wink:

2 Likes