Frozen column both start and end

Hi everyone, in a datagrid I need to have some columns frozen at both the beginning and the end. The columns at start works fine while the columns and end seems to have some problems. is there a way to fix it? ( i read the documentation and suggest to do only at start, but i need to have both start and end) Thanks.

https://demo.jmix.io/ui-samples/sample/data-grid-frozen-column?tab=DataGridFrozenColumnSample.java seems a little buggy when use "
frozen to end"

i think i solved it, by forcing the column to stay at start or at end using datagrid’s .setColumnPosition() method