SAP Spartacus和Table相关的配置结构ResponsiveTableConfiguration

简介: SAP Spartacus和Table相关的配置结构ResponsiveTableConfiguration

image.pngimage.png

export interface TableOptions {

 /**

  * Default pagination for the table that is used for the initial load of the table data.

  */

 pagination?: PaginationModel;

 /**

  * The layout for the table component can be used for horizontal, vertical and vertical stacked

  * table layouts.

  */

 layout?: TableLayout;

 /**

  * Global component to render table header _content_ (`...`). A specific component per

  * field can be configured alternatively.

  *

  * If no component is available, the table component will render a static label or use the

  * configured i18n label.

  */

 headerComponent?: Type;

 /**

  * Global component to render table cell _content_ (`...`). A specific component per

  * field can be configured alternatively.

  *

  * If no component is available, the table content will render as-is.

  */

 dataComponent?: Type;

 // field specific options

 cells?: {

   [fieldKey: string]: TableFieldOptions;

 };

}image.pngTableFieldOptions:

export interface TableFieldOptions {

 /**

  * Optional label to add static or localized headers. If the label is not present, the

  * field key is mapped to a i18n property.

  */

 label?: string | TableHeader;

 /**

  * Indicates wether the cell is linkable.

  *

  * If the cells is linkable, an anchor link can be generated in the table data element.

  */

 linkable?: boolean;

 /**

  * Component to render table header _content_ (`...`) for the table field.

  *

  * If no component is configured, the global table component for the header will be used

  * instead.

  */

 headerComponent?: Type;

 /**

  * Component to render table data _content_ (`...`) for the table field.

  *

  * If no component is configured, the global table component for the cell data will be used

  * instead.

  */

 dataComponent?: Type;

}

/**

* The TableStructure holds the header structure of the table.

*/

export interface TableStructure extends TableStructureConfiguration {

 /**

  * The table type is a mandatory property. The type is used to identify the table

  * configuration and is used to generate a unique outlet reference.

  */

 type: string;

}image.pngimage.png

目录
相关文章
|
2月前
|
搜索推荐
如何让 SAP UI5 Smart Table 支持多项选择(Multiple-Selection)试读版
如何让 SAP UI5 Smart Table 支持多项选择(Multiple-Selection)试读版
19 0
|
7月前
|
调度 数据库
什么是 SAP Lock 机制中的 Lock Table
什么是 SAP Lock 机制中的 Lock Table
27 0
|
1天前
|
算法 Oracle Unix
安装完后的SAP有关配置
安装完后的SAP有关配置
|
4月前
|
供应链 数据挖掘 API
和 SAP 系统单点登录 MYSAPSSO2 相关的一些配置和 API
和 SAP 系统单点登录 MYSAPSSO2 相关的一些配置和 API
29 0
|
4月前
|
JSON 开发者 数据格式
关于 SAP Spartacus LandingPage2Template 区域的 layout 设计实现
关于 SAP Spartacus LandingPage2Template 区域的 layout 设计实现
26 0
|
4月前
|
供应链 监控 网络安全
SAP ABAP 系统里的事务码 SMICM keep Alive 参数的含义和配置
SAP ABAP 系统里的事务码 SMICM keep Alive 参数的含义和配置
30 0
|
4月前
|
搜索推荐 开发者 UED
关于 SAP Spartacus 层的 UI 设计
关于 SAP Spartacus 层的 UI 设计
42 0
|
4月前
|
开发者 UED
SAP Spartacus BREAKPOINT 枚举类型在 Spartacus layout 实现中的作用
SAP Spartacus BREAKPOINT 枚举类型在 Spartacus layout 实现中的作用
25 0
|
6月前
|
数据库
小技巧分享 - 找出 SAP ABAP SPRO 配置项后台对应配置表的两种办法试读版
小技巧分享 - 找出 SAP ABAP SPRO 配置项后台对应配置表的两种办法试读版
49 0
|
6月前
|
存储
如何给 Spartacus 的 CSR 和 SSR 配置不同的 OCC endpoint
如何给 Spartacus 的 CSR 和 SSR 配置不同的 OCC endpoint
32 1