Scroll for my custom component not work

Hi!
I create custom component and posted few copies, but scroll not work. How correct this?
https://snippet.webix.com/ptkaub4v

Comments

  • Hi,

    Only several Webix components (form, template and data components) are extended with the scroll which is added via complex inner logic, so you need to wrap the scrollview around the layout:

    webix.ui({
      view:"scrollview",
      body:{
        rows:[{view:"mypanel"}, {view:"mypanel"}, etc.]
      }
    });
    

    Also, please note that Webix has its own view:"panel" (used in Dashboard widget) and the same name may cause API conflict.

  • thank you!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!