Empty space when widget is getting hidden on Service portal

dheeraaj
Giga Expert

Hi Experts,

Need to clear off the empty space when a widget becomes hidden due to user criteria. Please find the attached image.

I want to know if there is any way the layout gets auto arranged after the widget gets hidden. 

Currently it is becoming blank and not looking good.

Help is appreciated.

Regards,

Dheeraaj

9 REPLIES 9

Community Alums
Not applicable

Hi Dheeraaj,

add ng-hide="<expression>" on the container holding the widget. This should do the trick.

 

Cheers,

Joro

Hi Joro,

 

Thanks for the reply. Please find the attached image. I have attached how my current layout looks like.

Would you mind explaining me a little deeper on where should I write this ng-hide="<expression>"  on the container.

And also what exactly should be there in the "<expression>".

 

Example : I have 2 HR Criteria

 

1) Global Contractors (Some widgets gets hidden when a contractor logs into portal).

2) Employees 

 

 

Regards,

Dheeraaj

 

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

hide tag should be on widget which want to hide. Not on container level.


Thanks,
Ashutosh

Hi Ashutosh,

 

I am already hiding the widget. But my questions is it is leaving empty space when a widget gets hidden.

I wanted to know if there is any way to auto tailor the container space when a widget gets hidden.

 

Regards,

Dheeraaj