如何根据状态将颜色应用于 SharePoint 列表?
我想根据状态或类似情况将颜色应用于 SharePoint 列表的行。
请有人详细告诉我如何做到这一点。
I would like to apply colours to a SharePoint List's rows based on status or similar.
Please could someone tell me in detail how to do this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
有很多关于优秀的SharePoint 博客路径的帖子关于这个主题。
我不会列出各个帖子,但该技术称为“Html 计算列'。
There are a lot of posts on the excellent Path To SharePoint blog regarding this subject.
I am not going to list the individual posts, but the technique is called the 'Html Calculated Column'.
虽然这个答案很晚了,但这个问题仍然被很多人问到。
我总结了执行此操作的可能方法,并提供了具有更详细演练的页面的链接(包括 @Muhimbi 提到的 Christophe 的解决方案):
如何在 SharePoint 中突出显示列表
这是我公司的博客[抱歉],灵感来自于创建具有此功能的商业产品[抱歉]< /em>,我不可避免地会在博客中提到该产品[
立即购买抱歉]。Although this is a late answer, this question still gets asked a lot.
I've put together a summary of the possible methods of doing this, with links to pages that have more detailed walkthroughs (including Christophe's solution mentioned by @Muhimbi):
How to do list highlighting in SharePoint
It's my company's blog [sorry], and was inspired by creating a commercial product that has this functionality [sorry], and I inevitably mention the product in the blog [
buy nowsorry].下面的代码突出显示并根据
SharePoint 设计器中的某些表格单元格数值条件格式将样式添加到父(最近)表格行,但我期望的方式和使用此 jquery 代码要好得多
below code highlight and add style to parent (closest) table row based on some table cell numeric value
conditional formatting in SharePoint designer was not working right and the way i expected and using this jquery code is much better