Skip to main content
Finance forum
Suggested answer

Color picker

editSubscribe (0) ShareShare
ReportReport
Posted on by 20
Hi, I'm quite new to D365 FinOps and I'm creating a table with a color field inside.
 
I was wondering what would be the best way to introduce a color picker control when editing the field in a grid?
 
Failing that, is there an easy way to allow hex values to be entered?
 
  • Community member Profile Picture
    Community member 20 on at
    Color picker
    I found an article that explains how to add ColorSelection control to an edit form but I don't understand how I would apply that control to a cell in a grid when using the Simple List pattern
     
  • Martin Dráb Profile Picture
    Martin Dráb 222,570 Super User on at
    Color picker
    Okay, I got. But you still didn't tell us what problem you have with it. We can't give you any advice without knowing your problem.
  • Community member Profile Picture
    Community member 20 on at
    Color picker
    I have an integer field on the grid.  I just want to know how to turn it into a color picker.
  • Martin Dráb Profile Picture
    Martin Dráb 222,570 Super User on at
    Color picker
    I'm sorry, but it's not clear to me what problem you have. You're seem to be asking whether you can put the field to a grid, but you already have it there. Or are you confused by the fact that the blog post doesn't use a grid and therefore the field is in a group?
  • Community member Profile Picture
    Community member 20 on at
    Color picker
    Thanks for the heads up.
     
     
    However, I would like to use it in a grid.
     
    In the above image, I have a grid field setup for my color field but I don't know how to add the control as the tutorial has:
    Is it possible to add the same control to a grid column?
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 222,570 Super User on at
    Color picker
    You can utilize ColorSelection class. Use "Find references" to see examples of the usage in the standard application,.
     
    By the way, I moved this thread from D365 general forum to the Finance forum, because it's clearly about F&O and not about D365 in general. D365 includes quite a few different products, such as former Dynamics NAV.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans