Is there a way to show a horizontal scroll in a template layout.?
Hello,
Information about scroll property in a template is here
you can add
scroll: "x"
Please check samples: https://snippet.webix.com/b1zqmgft
https://snippet.webix.com/c01e2a0a
Thanks you so much. Its what I need.
I get the scroll bars visible with “scroll: ‘xy’”, but, if a insert a div bigger than the size of the layout, the vertical scroll works fine but the horizontal scroll remain like disabled.
Hi,
I can confirm the bug, thank you for reporting. The fix will be available in the next update, but for now you can work around the issue by providing the HTML directly in the template
property: https://snippet.webix.com/985c8gbz
If using content
is vital for your, another workaround is possible: https://snippet.webix.com/sxme4y92
Thanks, for the workaround. I dont know which can work for me. I think the first is more intuitive.
Finally the second is what work for me. In the first I have problems to access elements in the inline content by id.
problems to access elements in the inline content
You can easily do it via template.$view
that stores the topmost HTML element of the widget: