Alternatively, if you are using Bulma without any customizations, you can replace your Bulma stylesheet with bulma-with-sticky-tables.css.
Make sure to check out the examples on GitHub. You can create an external controller to be able to dynamically manage the table, for example to add or remove rows within it.