Datatable footer position

Hello I have a datatable with footer which is hidden by default. After button press footer appears.
I noticed that if datatable haven’t fixed height then footer is not shows seems its cropped.
But if I set datatable a fixed height then after applying some filters there will be a blank space between footer and datatable.
Is there any way to set footer position?

With autoheight all works fine but I’m unable to vertical scroll

try to use refreshColumns after footer redefining
https://snippet.webix.com/qfen4ng2

Thank you for the advice @intregal but I’m using this. Also in your example there is a blank space between footer and datatable which I want to remove.
like this: https://snippet.webix.com/lpoms3bk
but with vertical scroll possibility

looks like there is a bug related to “x” scrollbar in autoheight mode.
if you do not need it, try to explicitly remove by setting scroll:false
https://snippet.webix.com/5fmny26y