gpt4 book ai didi

Adding Scroll Bar to Sharepoint Multi Line Texts Column not allow complete text in a cell to show(将滚动条添加到Sharepoint多行文本列不允许显示单元格中的完整文本)

转载 作者:bug小助手 更新时间:2023-10-24 22:12:01 24 4
gpt4 key购买 nike



I am not a developer, but I am trying to develop a function to see multi line texts in a sharepoint list with a scroll bar because it sometimes is so long that it makes the height of the column too high to look orgnized. I used the following JSOn script, and it indeed added a scroll bar but when I click the arrow to the top, I cannot see the first line of values. How can I make changes in my script to view entire values by scrolling up and down?

我不是一个开发人员,但我正在尝试开发一个功能,以查看一个带有滚动条的SharePoint列表中的多行文本,因为它有时太长,它使列的高度太高,看起来组织。我使用了下面的json脚本,它确实添加了一个滚动条,但当我单击顶部的箭头时,我看不到第一行值。如何在脚本中进行更改以通过上下滚动查看整个值?


enter image description here


{
"$schema":"http://columnformatting.sharepointpnp.com/columnFormattingSchema.json",
"elmType":"div",
"style":{
"font-weight":"bold",
"font-family":"Trebuchet MS",
"font-size":"13px",
"font-size-adjust":"0.58",
"overflow-y":"auto",
"max-height":"50px"

},
"txtContent":"@currentField"
}

{“$schema”:“http://columnformatting.sharepointpnp.com/columnFormattingSchema.json”,“elmType”:“div”,“Style”:{“FONT-Weight”:“粗体”,“FONT-FAMILY”:“Trebuhet MS”,“FONT-SIZE”:“13px”,“FONT-SIZE-ADJUST”:“0.58”,“Overflow-y”:“Auto”,“max-Height”:“50px”},“txtContent”:“@Currentfield”}


更多回答
优秀答案推荐

I have solved my problem by adding one more script: "display": "block"

我已经解决了我的问题,添加了一个脚本:“Display”:“Block”


Thank you!

谢谢!


更多回答

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com