а

Dataview Template Height


#1

I am trying to build a user commenting system using dataview. The comments can be of variable length. Is there a way i can have dataview records adjust height based on data length?

This is the only functionality i have not figured out on what otherwise is a stellar product. If the functionality is not currently supported, would appreciate any tips on how i can achieve this programatically.


#2

Hello,

if your dataview has only one item in a row (like list), it is possible to define height “auto” for dataview items:

x_count: 1, type:{ height: "auto", template: ... }


#3

I tried the height:“auto” parameter but it didn’t work (version 5.0). Is this still supported?


#4

Please, try to use the dhtmlxList component.