【问题标题】:TreeTable in SAP UI5 with no child rowSAP UI5中的TreeTable没有子行
【发布时间】:2018-09-19 18:35:47
【问题描述】:

是否可以在 SAP UI5 中有一个没有子行的树表。但仍然显示 ">" 针对父级。在扩展它不会显示任何内容。

【问题讨论】:

    标签: sapui5


    【解决方案1】:

    当然,不要在列的绑定中添加任何参数。

    <TreeTable
        id="someId"
        rows="{ path: '/GroupNodes' }"> <!-- Your binding here -->
        <columns>
    
            <Column>
                <template>
                    <m:Text text="{Grpid}"></m:Text>
                </template>
            </Column>
    
        </columns>
    </TreeTable>
    

    这会产生以下内容:

    【讨论】:

      猜你喜欢
      • 2020-02-21
      • 1970-01-01
      • 1970-01-01
      • 2019-05-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多