Layout borders problem

Hi,
I need to add borders to my layout like this (based on tables) : http://webix.com/snippet/b2e1a703

My attempt with webix components is here:
http://webix.com/snippet/fc3a54b0

In real page my layout is more complex, but I can’t to do proper borders with this simplest example.
Can you please look at it and explain what is wrong?

Hi,

try to use “space” layout (gray background can be changed):

http://webix.com/snippet/b0ed164f

Thank you!
Is works excellent until I use something real instead of template, for example, fieldset: http://webix.com/snippet/841f9187

I mean that border around the fieldset disappeared.
And it seems that it is a feature, because the fieldset has “border-width: 0px;” in it’s style.
Why?
I’m at a loss :slight_smile:
In my project at the place of fieldset I use rows[]. And encircling div also has border-width: 0px despite of type:“line” or something else.

Fieldset is kind of specific, as it always has inner line around the content, fieldset attempts to ignore the external border. You can move it back on righ way by adding borderless:false

http://webix.com/snippet/318caa17

or just use a form as a host for fieldset

http://webix.com/snippet/e168c912