我的SharePoint页面上有一个包含5列的WebPart。它不是一个列表项,我不想让整个don部件变宽,只有一列,恰好是第一列。
有人知道怎么做吗?我觉得这是我遗漏的一些简单的东西。

发布于 2016-11-14 20:53:44
如果你可以在你的页面上添加一些javascript代码,那么你就可以通过javascript来加宽栏目。如下所示:
var table = document.querySelector('.ms-listviewtable');
var head = table.firstChild.firstChild;
head.childNodes[1].style.width="500px";https://stackoverflow.com/questions/40552351
复制相似问题