web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Border of datacard onl...
Power Apps
Unanswered

Border of datacard only visible in data-edit-mode

(0) ShareShare
ReportReport
Posted on by 95

Hi together,

 

I have a little app with some datacards on the right side. For keeping the cards apart better, I want to change the border to visible but not too thick. I changed the properties, but the borders are only visible if I change to edit-mode. Why is that?

 

DoctorJaegerX42_0-1697003620537.pngDoctorJaegerX42_1-1697003649607.png

 

I want to have those borders all the time.

Any ideas?


Greetings, Doc

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    Hi @DoctorJaegerX42 ,

    Unfortunately, this is the default behaviour - you could put a Rectangle behind the control and set the X, Y, Height and Width to refer to the control and make it visible when the Form is in View mode.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • Verified answer
    AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @DoctorJaegerX42,

     

    This is because you are switching between view and edit mode of the form. When the form is in edit mode it shows the actual input control and allows the user to input data. When it is in view mode, it just displays the data and does not allow the user to make changes.

     

    To work around this, change the DisplayMode of the input control from Parent.DisplayMode to:

     

    DisplayMode.Disabled

     

     This will bring the border of the control back. Then change the DisabledFill property to RGBA(255, 255, 255, 1).

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • Verified answer
    DoctorJaegerX42 Profile Picture
    95 on at

    Hi @WarrenBelz:

    I didn't try out your solution, but the other one from @AARON_C worked just fine.

    Thank you though. I will give it a try 🙂

  • Verified answer
    DoctorJaegerX42 Profile Picture
    95 on at

    @AARON_C :

     

    That worked like a charm. Thank you so much. Even without changing the DisabeldFill property, it worked just fine.

     

  • DoctorJaegerX42 Profile Picture
    95 on at

    @AARON_C :

     

    Small little followup problem:

     

    I changed all the datacards except for one, because the Displaymode property is somehow locked:

    DoctorJaegerX42_0-1697006195705.png

    Any idea whats the reason behind that?

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    @DoctorJaegerX42,

     

    If you scroll up to the top of the advanced settings, you will see the option to unlock the datacard.

    AARON_C_0-1697006442097.png

     

  • DoctorJaegerX42 Profile Picture
    95 on at

    Oh my...

     

    I was so dumb.

     

    Since I didn't have any trainings for powerapps ever, I have to teach it to myself, hence those dumb little questions. Thank you again 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard