Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含几个字段的列表视图,其中两个字段是名字,姓氏。我想将名称显示为标题并连接名字和姓氏。
我该怎么做呢?
这是执行此操作的代码段:
var user = nga.entity('Users'); user.listView() .fields([ nga.field('id').label('Name').map(function (value, entry) { return entry.firstName + ' ' + entry.lastName; }) ]);