webix datatable vertical scrollbar range

Hello :slight_smile:
I’m using vertical scrollbar on datatable.
Right now, the scrollbar area uses full width of the table.
Is it possible to make the scroll area fit the width of only fixed columns?

Thanks in advance!

Hi @shy2911,
Please check Split Mode or “Frozen” Columns/Rows. Split mode allows you to have DataTable separated into two parts: the “frozen” one and the “scrollable” one.
You can freeze either columns or rows. The “frozen” part of the datatable will be fixed, while the scrollable part will remain movable.

@Nastja Oh I’m sorry, my explanation was not enough. I am already using leftsplit. What I want is to make the scrollbar -the actual bar element- move only within the “.webix_ss_center” area, not from end to end of the whole table.

you can use onResize event and add some code as shown in the snippet:
https://snippet.webix.com/0g7hmkow

@Nastja This is exactly what I wanted. Thank you :blush: