在选择字段上设置颜色 [英] Setting colour on choice fields
问题描述
我有一个选项栏,其中可供选择的选项为:
I have a choice column where the options to choose are:
已完成
未开始
在我的列表中,文本是"已完成"在本专栏中,我想通过绿色背景强调这一点。对于未开始,我希望通过红色背景突出显示如下所示。
On my list where the text is "Completed" in this column I would like to highlight this by a green background. For Not started I would like this to be highlighted by a red background as show below.
有没有办法在不使用SP设计师的情况下执行此操作?
Is there a way to do this without using SP designer?
推荐答案
Hi Michuk,
Hi Michuk,
如果您使用的是SharePoint Online,那么您可以使用JSON进行操作,您可以关注此主题 https://www.c-sharpcorner.com/ blogs / color-formatting-the-sharepoint-online-list-using-json
If you are using SharePoint Online then you can do it using JSON, you can follow this thread https://www.c-sharpcorner.com/blogs/color-formatting-the-sharepoint-online-list-using-json
您可以使用SP设计师跟随此主题进行颜色格式设计 http://www.fivenumber.com/ sharepoint-apply-background-color-to-custom-list-column-based-other-column-value /
You can follow this thread to color formatting using SP designer http://www.fivenumber.com/sharepoint-apply-background-color-to-custom-list-column-based-on-other-column-value/
您可以使用jquery https跟随此线程进行颜色格式化: //blog.devoworx.net/2016/10/01/conditional-formating-at-dispform-aspx-via-jquery-in-sharepoint /
You can follow this thread to color formatting using jquery https://blog.devoworx.net/2016/10/01/conditional-formating-at-dispform-aspx-via-jquery-in-sharepoint/
___________ ___________
______________________
Thivagar SEGAR
Thivagar SEGAR
这篇关于在选择字段上设置颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!