Hi all,
I have to create a mini popup filter selection in top right of data table, and when I apply filter the filter icon will display the red dot ,
do you have any idea to create it?
Hi @Bella Nguyen,You can use a variable or an attribute just to now that if u have any values in the filters.And Share an OML below. Regards,Faiz
Thank you for your suggestion, I also have problem with mini popup do you know how to create mini popup in top right of the table for now the popup only open in middle of the screen
@Bella Nguyen
I think you need to implement your own popup by css. the standard popup of Outsystems won't fit your need.
And about the red dot you can easily achieve it by css attached in attachment
Thank you for your suggestion, I also have problem with mini popup do you know how to create mini popup in top right of the table for now the popup only open in middle screen
Hi @Bella Nguyen
To control size (width & height) of your popup use below CSS style
.popup-dialog {
min-width: 50vh;
height: 20vh;
}
and to manage position of your popup use below CSS style
.popup-backdrop {
justify-content:flex-end;
Just add the above CSS in the respective Screen style sheet section.
I hope this will help you.
ThanksDeep
Thank you all for your help. I solve my issues with CSS for icon and container + css for mini popup
@Bella Nguyen ,
what part are you having trouble with, the popup or the icon ?
Reading your question, I think the icon : I would just create 2 icons, one without and one with a dot, and put them in the true and false branch of an If. The condition of the If checks whether a filter is applied (maybe by looking at the filter values, or maybe you want to have a separate boolean for that ...)
Dorine
I got issue with both the mini popup and icon. I have to create mini popup in top right of the table. But now the popup only open in middle screen
Hi @Bella Nguyen,
You can inspect that filter icon and check which CSS is overridding that's why it is showing dot after click or apply.
Regards,
Rajat
Consider using Overflow Menu (from OutSystems UI)
Here is its documentation.