Hi all,
is it possible to size dataview items individually? I tried to use $height with no success, check http://webix.com/snippet/56883eac
Thank you
Hi,
The $height
attribute will work only for the datatable rows.
You can use type:{ height:"auto" }
for list/dataview items to make them adjust to their contents: http://webix.com/snippet/92d82ca9
Thank you.
I already tried with height:“auto” but as I can see in your snippet, the trick was to add autoheight: true.
Yes , but now the dataview does not scroll, why?
autoheight
adjusts the view to its content, so the scroll will be disabled anyway.
Actually, we found a bug: in dataview, items with height:'auto'
won’t be rendered properly, if the dataview have a fixed height.
But if your dataview should have xCount:1
, you can replace it with the list or a list-like datatable: http://webix.com/snippet/08410b8f
Ok. Datatable will fit my need. Tkank you