Mendix 8 Pluggable Widgets - Containers? - Mendix Forum

Mendix 8 Pluggable Widgets - Containers?

0

Is it possible to make ‘container’ pluggable widgets in Mendix 8?

I.e Can regular mendix widgets be passed as React children?

For example consider this simple React widget:

 

const CardGrid = props => (

  <div className=’card-grid’>

   {props.children}

  </div>

);

This will use CSS Grid to layout all the children HTML elements. 

Can I nest widgets within pluggable widgets in Mendix? E.g. Using the existing mendix card building block. 

In mendix we have inbuilt ‘container’ widgets for this kind of thing, but I would like to take advantage of the responsiveness & flexibility of CSS grid which neither ‘layout grid’ nor ‘template grid’ can offer in Mendix

 

asked
3 answers
1

At the moment, you cannot nest pluggable widgets (or the older custom widgets). I expect that we’ll see this capability at some point in the not-so-distant future, as it would open up a ton of possibilities for widgets.

answered
0

thanks for the answers!

It will be really cool if we get this feature at some point. Hopefully soon!

answered
0

It is talked about in the presentation at Mendix world

https://www.mendix.com/mendix-world/2019-recap/

Maximizing Next Generation Experiences with Mendix Pluggable Components

It not there yet.. would be love to see it

 

 

answered