Similar to groupbox

Hi, I need to display the datagrid when i click the icon. It need to work like a groupbox …..instead of group box ….when i click the icon the datagrid need to show below the icon. Thanks in Advance.
1 answers

Add a helper entity(non persistent) which will contain a boolean attribute and an association to your datagrid entity. On click of the image/icon change the value of the attribute. Use this attribute to set the visibility of your datagrid.

Optionally you could also use ShowByCondition widget but that would require you to add a css class. You can find more in their documentation on github:

Hope this helps!