Check out example codes for "zk wrap listbox in horizontal scrollbar". It will help you in understanding the concepts better.

Code Example 1

<div style="overflow:auto;position:relative">
  <vbox id="modulesTabpanelVbox" spacing="2" width="99%">
    <!--listbox here-->
  </vbox>
</div>

Learn ReactJs, React Native from akashmittal.com