Scroll: "auto" to webix grid

how we can remove unnecessary scroll if it is not required in case of small data to webix datatable,In case of webix datatable Scroll:“auto” is not working. How we can implemet this?

Hello,

You can use CustomScroll. The bars are initially hidden and appear only when a scrolling movement is detected on the page (provided that scrolling is enabled).
https://docs.webix.com/desktop__scroll_control.html#webixcustomscroll

Thanks @Nastja for quick help, but is it possible to use native scroll rather than this custom scroll??

Hi,

Yeap, it’s possible
You can apply define + refreshColumns as

datatable.define({scroll:false});  
datatable.refreshColumns();

But when the issue was tested we found a bug, so it needs to use refreshColumns() two times. We will fix it soon. Sorry for the inconvenience.

Sample: Code Snippet