Grid freeze the rightmost columns

Right now, grid has the feature to freeze leftmost/first columns, it’s so useful. Thanks to vaadin devs.
Sometimes, I need to freeze rightmost/last part of grid too, for example grandtotal column when I working on pivot-like table content or any situation that need the last 2-3 columns to be frozen, for instance.
Is there any feature or workaround I can do to freeze them?

Thanks.

I want to implement same thing in my website
I need to keep freeze my last grid column

Is there any way to do ?

Thanks