在未排序列表和列表项< UL><< LI>之间移动列表视图Web部件.在新的/显示/编辑表单上使用JavaScript [英] Moving a List View webpart between an Unorderlist and List item <UL><<LI> with JavaScript on a New/Display/Edit Form
问题描述
你好,
我正在尝试在Unorderlist和List项目< UL><< LI>之间移动List View WebPart.在新的/显示/编辑表单上使用JavaScript.我有一个选项卡式列表表单,我想将列表视图放在某个选项卡中.我的想法会很棒 帮助.
I'm trying to move a List View webPart between an Unorderlist and List item <UL><<LI> with JavaScript on a New/Display/Edit Form. I have a Tabbed List Form, which I want to place a list view within a certain tab. I ideas would be a great help.
迈克
SharePoint工程师-迈克
SharePoint Engineer - Mike
推荐答案
如果您使用SharePoint 2013,则可以使用以自定义查看/添加/编辑表单"列表.
If you using SharePoint 2013 then you can utilize Client-side rendering (JS Link) functionality to customize the View/Add/Edit form list.
参考:https://code.msdn.microsoft.com/office/Client-side-rendering-JS-2ed3538a
Reference: https://code.msdn.microsoft.com/office/Client-side-rendering-JS-2ed3538a
对于SharePoint 2013,您可以编写自定义JavaScript CSOM代码以获取列表详细信息,隐藏现有视图并使用自定义JavaScript呈现自定义视图.
In case of SharePoint 2013, you can write custom JavaScript CSOM code to get list details, hide existing view and render custom view using custom JavaScript.
这篇关于在未排序列表和列表项< UL><< LI>之间移动列表视图Web部件.在新的/显示/编辑表单上使用JavaScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!