cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NathanFra
Helper I
Helper I

Bolding specific words within HTMLText that pull from datatable

Hi all,

 

I have a request from a user and I'm not sure if this is doable. They have a data table that houses all their entries on the app. From that Datatable, and HMTL Text box is used to do a very simple HTML to Email. The user is wonder if its possible that for say the Morgue Safe (which is a Yes/No Sharepoint Column) to have any that say 'Yes' be bolded, or the 'No' just omitted without omitting the rest of the entry. Everything I've tried either just removes the No, or has everything.

NathanFra_0-1608828322681.png

NathanFra_2-1608828586814.png

 

This was an afterthought from the user, so there is no real entries that currently have this column filled out.

 

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User III
Super User III

Hi @NathanFra 

To do this, I would replace the reference to MorgeSafe that I've highlighted here, with the following conditional statement.

 

If(MorgueSafe.Value, "<b>Yes</b>", "")

 

That should hopefully give you what you need.

 

timl_0-1608890032482.png

 

View solution in original post

3 REPLIES 3
Drrickryp
Super User II
Super User II

Hi @NathanFra 

I don't think that you can bold one column in a data table.  However, you can recreate your table using a Gallery and format it to look exactly like a data table.  You will have much more design flexibility with a gallery control.

Bilakanti
Responsive Resident
Responsive Resident

Hi @NathanFra ,

Currently there is no option to bold a DataTable Column. As @Drrickryp said, you can recreate your table using a gallery and format it to look exactly like a DataTable.

timl
Super User III
Super User III

Hi @NathanFra 

To do this, I would replace the reference to MorgeSafe that I've highlighted here, with the following conditional statement.

 

If(MorgueSafe.Value, "<b>Yes</b>", "")

 

That should hopefully give you what you need.

 

timl_0-1608890032482.png

 

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,289)