Enable Custom Scroll only for certain views

Hi,

I need to use Custom Scroll for some views and browser native scroll for other views. I haven’t found any way to do this at documentation. Is there any solution?

Thanks!

Hi,

The ui.scrollview is the only component that can handle the native scrollbars while webix.CustomScroll is enabled.

webix.CustomScroll.init();
webix.ui({
   view:"scrollview",
   body:{ }, // inner components will use the custom scroll
   scroll:"native-x"
});

Please check the sample:

http://docs.webix.com/samples/60_pro/03_api/03_customscrol_mixed.html

ok, thanks for the answer!

Hi webix team,

I want the CustomScroll for the multiSelectFilter and the native Scroll for the DataTable like https://snippet.webix.com/qm6dfg0j Thanks for a tipp

Hello @RainerRoss ,

As described above, the ui.scrollview is the only component that can handle the native scrollbars while webix.CustomScroll is enabled. So, datatable doesn’t have such functionality. Therefore, the only solution would be to use native scroll for the multiSelectFilter.