更改预览窗格样式的链接列 [英] Change linked column for Preview Pane style

查看:66
本文介绍了更改预览窗格样式的链接列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个列表,其中包含姓氏,名字和一个名为全名的计算列,用于连接姓氏和名字。我的用户将他们的Excel电子表格导入到列表中,并希望将列分隔为最后一个,第一个等。 

I have a list containing Last Name, First Name and a calculated column called Full Name that concatenates the Last and First Names. My users import their excel spreadsheet into the list and want to keep columns segregated as last, first etc. 

从下图中可以看到,"姓氏"链接到"编辑"项目和因此预览样式。

As you can see from the below picture, Last Name links to Edit item and hence preview style.

如何将编辑菜单链接到全名而不是姓氏,以便它显示在预览窗格的左侧?

How can I link the edit menu to Full Name instead of Last Name so it shows up on the left side of the Preview pane?

如果我没有详细信息面板上任何字段的蓝色链接,也会很棒。 

It would also be great if I didn't have the blue link for any of the fields on the details panel. 

这是当前视图:

推荐答案

您好mikello,

Hi mikello,

要将编辑菜单链接到全名而不是姓氏,您可以编辑SharePoint Designer中的列表视图页。

To link the edit menu to Full Name instead of Last Name, you can edit the list view page in SharePoint Designer.

在高级模式下编辑所有项目视图页面,找出< ViewFields>标签,添加"LinkToItem =" TRUE" ListItemMenu = QUOT; TRUE" "全名字段标记后面。然后刷新页面并检查结果。

Edit All item view page in Advanced Mode, find out the <ViewFields> tag, add "LinkToItem="TRUE" ListItemMenu="TRUE" "behind the Full name field tag. Then refresh the page and check the result.

要删除任何字段的蓝色链接,请编辑列表视图页面并插入脚本编辑器Web部件,将下面的代码复制并粘贴到其中:

To remove the blue link for any of the fields, edit the list view page and insert a script editor web part, copy and paste the code below in it:

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>

<script type="text/javascript">


(document).ready(function()

{

setInterval(function(){
(document).ready(function() { setInterval(function(){


(" td.ms-formbody")。each(function(index,element){
("td.ms-formbody").each( function( index, element ){


这篇关于更改预览窗格样式的链接列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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