SAP Fiori Elements List Report 列表宽度决定逻辑的单步调试

简介: SAP Fiori Elements List Report 列表宽度决定逻辑的单步调试

注:本文需要结合这篇文章 SAP Fiori Elements List Report Smart Table 列项目宽度计算的奥妙 来阅读。

image.png

Calculates the column width from the metadata attributes.


基于元数据里的属性计算宽度。


The optimal column width is calculated with creating the longest possible sample of the created model type.


最优的宽度是基于字段类型最大可能的长度


Afterwards it is formatted to string while taking the constraints and format options into account, and then measured over canvas.


计算完毕后,被转换成字符串格式


参数1:@param {object} oField OData metadata for the table field


字段在 OData 元数据中的属性


参数2:@param {boolean} [bAdditionalProperty=false] Whether the calcuation of additional or leading property


计算时是否需要考虑额外的属性


参数3:@param {object} [mConfig] The configuration object


参数4:@param {int} [mConfig.min=2] The minimum content width of the column in rem


列的最小宽度,单位为 rem


参数5:@param {int} [mConfig.max=19] The maximum content width of the column in rem


列的最大宽度,单位为 rem


@param {boolean} [mConfig.label=true] Whether the column label should be taken into account as minimum column width or not


列的最小宽度是否应该将列标签考虑在内

image.png

相关文章
|
2月前
|
Web App开发 数据采集 前端开发
纯技术讨论:如何让 SAP UI5 应用无法被别人在浏览器里调试 - 这种做法不推荐试读版
纯技术讨论:如何让 SAP UI5 应用无法被别人在浏览器里调试 - 这种做法不推荐试读版
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
|
2月前
|
安全 开发者
如何在 SAP ERP 系统调试 Product Initial Download
如何在 SAP ERP 系统调试 Product Initial Download
|
2月前
|
中间件
如何在 SAP CRM 系统调试 Product Initial Download
如何在 SAP CRM 系统调试 Product Initial Download
|
2月前
|
XML 存储 JavaScript
关于 SAP Fiori Elements List Report 里的 TableCell.fragment.xml 头部声明
关于 SAP Fiori Elements List Report 里的 TableCell.fragment.xml 头部声明
|
2月前
|
设计模式 前端开发 JavaScript
关于 SAP Fiori Elements List Report Go 按钮的实现
关于 SAP Fiori Elements List Report Go 按钮的实现
|
2月前
|
前端开发 搜索推荐 开发者
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
|
2月前
|
JavaScript 前端开发 开发者
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
|
2月前
|
XML 存储 数据格式
SAP UI5 控件 customData 属性的应用介绍
SAP UI5 控件 customData 属性的应用介绍
|
2月前
|
前端开发 JavaScript API
SAP UI5 sap.ui.require.toUrl 的作用介绍
SAP UI5 sap.ui.require.toUrl 的作用介绍