Showing results for 
Search instead for 
Did you mean: 
Impactful Individual
Impactful Individual

Customising a Data Table

I've been working with Canvas apps for a year and a half and I've not, until this day, ever found a use for the Data Table control.


Now I have. I have a data source with so many columns with such variability in the length of the values, and decreasing relevance as you go right, that the ability for the user to scroll horizontally and adjust the width of the columns like in Excel is very welcome.


It does seem quite inflexible though. I'd like to have some column headers with a different fill colour. It's not much to ask really, but I can't seem to figure out how I can construct a formula in the HeadingFill property to pick up any value from HeadingDisplayName with which to build a Switch() or If(). I guess it's not possible, but if I've missed something I'd love to know how.

Super User III
Super User III

Hi @WillPage ,


Unfortunately, the HeaderFill property is not a dynamic property all we could do is change as part of the properties but can't be changed with any condition.


I also had to do this for one of the clients but there was no luck also had a call with Microsoft team but there was no luck.


I hope this resolved your issue if you see any challenge let me know I am always happy to help.



If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Business Applications MVP
Twitter | Linkedin | YouTube | GitHub
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.
Impactful Individual
Impactful Individual

Thought so, thanks.

What about using a Gallery and structuring it in a tabular style. Color fill is more flexible in Galleries


If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (49,573)