Empty space when widget is getting hidden on Service portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2019 12:10 AM
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
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2019 12:17 AM
Hi Dheeraaj,
add ng-hide="<expression>" on the container holding the widget. This should do the trick.
Cheers,
Joro

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2019 12:30 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2019 01:27 AM
Hi,
hide tag should be on widget which want to hide. Not on container level.
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2019 07:43 AM
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