让行中的文本溢出到右列

发布于 2024-12-06 02:42:16 字数 290 浏览 0 评论 0原文

我有一个包含多个列的视图,显示下面带有响应文档的文档。

我的父文档上有一个很长的字段,我将其放入第一列中。

我还有另一列,其中有一个特定于我的回复文档的字段。

我希望第一列非常小(宽度),因此响应不会缩进太多。

问题是父文档的字段被切断。

如何允许父属性列溢出到子属性列?

这与分类视图类似,只是“类别”是父文档。

我想要一个解决方案,我可以让孩子的属性也溢出到子孩子的属性中,即文档->响应->响应的响应

I have a view with multiple columns that's showing documents with response documents underneath.

I have a field on the parent document that is long that i'm putting in the first column.

I've got another column that has a field specific to my response document.

I want to have the first column be very small (width), so the responses aren't indented by much.

The problem is that the parent document's field gets cut off.

How can i allow the parent property column to overrun into the child property column?

This would be similar to a categorised view, except that the 'category' is a parent document.

I'd like a solution where i can get a child's property to overrun into a sub-child's property too, i.e. Document->Response->Response of response

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挥剑断情 2024-12-13 02:42:16

有两种方法可以在 NotesView 中的行之间设置父/子关系。首先处理一种或多种类型的文档,您可以在其中获取文档的平面视图,选择要分组的列,并将其类型设置为“分类”。然后,“类别”行将显示在其字段设置为类别值的条目上方。

第二种方法是使用内置文档/响应(以及可选的响应到响应)关系来拥有两种类型的文档。在表单选择标准中,您确保选择了所需的所有文档,然后添加后代。在视图设置中,您需要选择“在层次结构中显示响应文档”。然后父文档将显示在所有子文档之上。

我认为您正在尝试使用第二种方法,但似乎缺少一些东西。设置后,父行可以显示任意数量的列,而子行通常只显示一列(请参阅内置讨论数据库的设计)。要指定用于响应的列,请在列属性中选择“仅显示响应”选项。否则,该列将仅针对父文档显示。

要获得您想要做的事情,您只需要几列即可。第一个用于响应文档,可以非常窄,但会自动拉伸到整个窗口。第二个是针对父文档的。最后,您可以选择“将最后一列延伸到窗口宽度”选项,以便父列填充屏幕,或者只是将父列的宽度拉伸到足以容纳所有内容。您甚至可以设置视图属性,以允许该列在多行(最多 9 行)上显示(如果一行不适合该列)。

希望这能填补任何空白。如果我错过了什么,请在评论中告诉我。

There are two ways to set up a parent/child relationship between the rows in a NotesView. First works with one or more types of documents where you take a flat view of documents, pick a column to group by, and set its type to Categorized. The Category row then shows up above the entries that have their field set to the category value.

The second way is to have two types of documents using the built in document / response (and optionally response to response) relationship. In your form selection criteria, you make sure you select all the documents you want, and then tack on the descendants. In the view settings you need to select "Show response documents in a hierarchy". Then the parent documents will show above all their child documents.

I think you're trying to use the second method, but it seems like something is missing. When it is set up, the parent row can show any number of columns, and usually the child row shows only one (see the design of the built-in discussion databases). To designate a column to be for responses, select the Show Responses Only option in the column properties. Otherwise the column will appear for just the parent document.

To get what you want to do you should just need a couple of columns. The first one would be for the response documents and can be very narrow, but will automatically stretch across the whole window. The second would be for the parent document. Lastly you can select the "Extend last column to window width" option so the parent column fills the screen, or just stretch the parent's column wide enough to fit everything. You can even set the view properties to allow that column to show on multiple lines (up to 9) if it doesn't fit on one.

Hopefully this fills in any gaps. If I missed something please let me know in the comments.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文