问题描述
请考虑以下。它包含以下几行:
Consider this example. It has the following lines:
var views = [
{
name: "alfresco/documentlibrary/views/AlfDocumentListView",
config: {
widgets: [
{
id: "VIEW_ROW",
name: "alfresco/documentlibrary/views/layouts/Row",
config: {
widgets: [
{
name: "alfresco/documentlibrary/views/layouts/Cell",
config: {
widgets: [
{
id: "DATA_LIST_TITLE",
name: "alfresco/renderers/Property",
config: {
propertyToRender: "title"
}
}
]
}
}
]
}
}
]
}
}
];
此示例仅显示数据列表,但不包含任何标题。
要添加到 AlfDocumentListView
使其显示标题的内容是什么?
This show just list of data, but without any headers.What to add to AlfDocumentListView
to make it show headers?
推荐答案
我建议您阅读GitHub上的Aikau教程(请参阅)我认为您会发现,有关Aikau的信息比有关Aikau的信息有用得多官方文件。特定问题的答案实际上是在本教程的第10章中解决的:
I would suggest that you work through the Aikau tutorial on GitHub (see https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/About.md) I think that you'll find that it has a lot more useful information on Aikau than the official documentation. The answer to your specific question is actually addressed in chapter 10 of the tutorial: https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/Tutorial10.md
我也建议您利用Alfresco社区平台()与StackOverflow相比,在此获得更多的响应,因为它在Aikau相关问题上拥有更多的受众。我还建议您阅读我在Aikau上撰写的许多博客文章(),因为您可能会发现其中包含许多有用的信息
I would also recommend that you take advantage of the Alfresco Community platform (https://community.alfresco.com/) you're likely to get more responses there than on StackOverflow as it has a larger audience on Aikau related issues. I'd also recommend reviewing the many blog posts I've written on Aikau (https://community.alfresco.com/community/ecm/blog/authors/ddraper) as you may find they contain a lot of useful information
这篇关于如何在aikau的AlfDocumentListView中添加列表标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!