Sharepoint Designer 2013中的数据视图颜色 [英] Data View Color in Sharepoint Designer 2013

查看:70
本文介绍了Sharepoint Designer 2013中的数据视图颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经在Sharepoint Designer 2013中创建了数据视图,但是我需要更改数据颜色行.

I already created data view in Sharepoint Designer 2013, but I need to changed data color row..

有可能做吗?有人对此有解决方案吗?

Did possible to do or not?? And Anyone have solution for this??

谢谢.

推荐答案

在SharePoint Designer 2013中,设计视图"不再可用.这意味着条件格式在SharePoint Designer 2013中不可用.

In SharePoint Designer 2013, the Design View is no longer available. That means conditional formatting is not available in SharePoint designer 2013.

因此,我们不能通过OOB方法更改列表项的颜色.现在默认情况下,SharePoint 2013中的所有数据现在都是通过客户端呈现(CSR)呈现的. CSR允许我们使用JavaScript(JS)设置SharePoint元素的样式,而不必编写XSL.当你 想要自定义列表,可以对此列表使用CSR.企业社会责任真的更好.不完美,但更好.至少它是基于JS的,并且世界一直在围绕JS嗡嗡作响,创建新的JS库,框架等.JS是一种趋势.

So we cannot change the color of list item by OOB method. And all data in SharePoint 2013 is now rendered via Client Side Rendering (CSR) by default. CSR allows us to style SharePoint elements using JavaScript(JS), rather than having to write XSL. When you want to customize the list you can use CSR for this list. CSR is really better. Not perfect, but better. At least it is JS-based, and world is constantly buzzing around JS, creating new JS libraries, frameworks, etc. JS is a trend.

参考:

https://stackoverflow.com/questions/27317668/how-to-color-code-rows-in-a-sharepoint-list-for-each-page

https://stackoverflow.com/questions/27317668/how-to-color-code-rows-in-a-sharepoint-list-for-each-page

还要检查下面的文章是否对您有用:

Also check if below article is useful for you:

https://aslamsumayya.wordpress.com/2015/04/10/changing-colors-in-sharepoint-list-rows-conditional-formatting-in-sharepoint-2013online/

https://aslamsumayya.wordpress.com/2015/04/10/changing-colors-in-sharepoint-list-rows-conditional-formatting-in-sharepoint-2013online/

最诚挚的问候,

艾伦·贝


这篇关于Sharepoint Designer 2013中的数据视图颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆