首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在aikau中向AlfDocumentListView添加列表头?

如何在aikau中向AlfDocumentListView添加列表头?
EN

Stack Overflow用户
提问于 2016-12-05 15:50:16
回答 1查看 46关注 0票数 0

考虑一下这个example。它有以下几行:

代码语言:javascript
复制
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添加什么才能使其显示标题?

EN

回答 1

Stack Overflow用户

发布于 2016-12-05 19:57:27

我建议你阅读GitHub上的Aikau教程(见https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/About.md),我想你会发现它比官方文档有更多关于Aikau的有用信息。您的特定问题的答案实际上在本教程的第10章中得到了解决:https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/Tutorial10.md

我还建议你利用Alfresco社区平台(https://community.alfresco.com/),你可能会在那里得到比StackOverflow更多的回复,因为它在Aikau相关问题上有更多的受众。我还建议你回顾一下我在Aikau (https://community.alfresco.com/community/ecm/blog/authors/ddraper)上写的许多博客文章,因为你可能会发现它们包含了很多有用的信息

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40969496

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档