Skip to main content
11-Garnet
July 10, 2023
Question

How to bring Tree type grid using collection widget

  • July 10, 2023
  • 1 reply
  • 844 views

Hi Guys,

 

I have a req., to bring a dropdown inside tree advanced grid, since it became OOTB for dropdown inside grid, I moved to collection, then the struggle is to manage the tree structure.

 

Any suggestion please...

 

 

regards,

John

1 reply

15-Moonstone
July 12, 2023

I hope your hierarchy has no more than two levels or the performance (and maintainability) will suffer.

 

Basically you will need a collection widget inside of a collection widget:

  • Collection Widget (Parent)
    • Either content or another collection widget
    • [...]

 

The mashup that represents each row, must evaluate a mashup parameter to either display the dropdown (or whatever you want to show) or another collection widget which has essentially the same setup as the parent. I think I would just use the "Contained Mashup" widget for this. In theory you can create as many layers as you want... but the data handling is no fun.