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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Modern controls Table ...
Power Apps
Answered

Modern controls Table HTML column / Date column

(1) ShareShare
ReportReport
Posted on by 87

Hello everyone,

 

I am trying out the new Table control using SharePoint as a database and the rich text column looks like this:

IonutHzd_0-1720440298480.png

 

And I can't find a  setting to convert the HTML automatically. Is that even possible currently?

 

Also on the formatting topic, I would like the dates to show up with "." instead of "/".

IonutHzd_1-1720440420373.png

 

Categories:
I have the same question (0)
  • rzuber Profile Picture
    552 Moderator on at

    In both cases, you are going to have to change or add columns with the format you would like to see.

     

    Check out the AddColumns function to see how you can add columns to your table.

     

    AddColumns, DropColumns, RenameColumns, and ShowColumns functions - Power Platform | Microsoft Learn

     

    For example:

    AddColumns(
     DataSource,
     FormattedDate,
     Text(Date, "m.d.yyyy")
    )
  • IonutHzd Profile Picture
    87 on at

    Thank you! @rzuber 

     

    That solved the issue with the Date. Could you elaborate on how to change the HTML column to formatted text?

  • Verified answer
    rzuber Profile Picture
    552 Moderator on at

    I don't think you will be able to convert it to formatted text.. but you can remove the HTML code from it by using the PlainText() function...
    EncodeHTML, EncodeUrl, and PlainText functions - Power Platform | Microsoft Learn

     

    Note you might want to use the Substitute() function to convert some of the HTML tags to line breaks..

    Replace and Substitute functions - Power Platform | Microsoft Learn

     

    For Example:

    AddColumns(
     DataSource,
     FormattedDate,
     Text(Date, "m.d.yyyy"),
     NoHTML,
     PlainText(
     Substitute(
     HTML,
     "<br />",
     Char(10)
     )
     )
    )

     

    I hope that helps!

  • IonutHzd Profile Picture
    87 on at

    @rzuber The PlainText will work just fine.

    Thank you!

  • rzuber Profile Picture
    552 Moderator on at

    Might I suggest another option?

     

    I have recently been playing with the HTMLText control, and using a gallery over the top of that for selecting records.. In the gallery, I place a slider that covers the entire record. I use the column widths of the table to determine where the user clicked on the slider to determine which field they clicked on. If you need to show the HTML as it is formatted, the only way you're going to do that is with the HTMLText control. Check out the calendar component I made in this component library if you want an example of how I do this.

    Calendar Component With Automatic Holidays, Workda... - Power Platform Community (microsoft.com)

  • IonutHzd Profile Picture
    87 on at

    @rzuber Currently I am trying to familiarize myself with the new modern controls.

    If it turns out the HTML formatting is 100% required, I will reconsider using the new controls.

     

    Thank you for the suggestion!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard