EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: gib65 on June 15, 2017, 04:05:03 PM



Title: adjusting row height of treegrid to fit contents
Post by: gib65 on June 15, 2017, 04:05:03 PM
Hello,

I'm experimenting with a treegrid and I'm noticing that the row height does not adjust to fit objects larger than the default row height. For example, I'm trying to nest a datagrid inside one of the rows in the treegrid, but I only end up seeing the header row of the datagrid.

The image below compares the treegrid with a propertygrid I was experimenting with before. The propertygrid seemed to have no problem accommodating a nested datagrid (i.e. the row height adjusted for the height of the nested datagrid):

(http://www.shahspace.com/acm/json viewer harness testing/EasyUI/datagrid vs treegrid - fitting grid into row.png)

Is there a way to get the row containing the datagrid inside the treegrid to adjust to the height of the datagrid?