diff --git a/packages/main/src/Table.ts b/packages/main/src/Table.ts
index db5a026ac6a0..2a405b93cf57 100644
--- a/packages/main/src/Table.ts
+++ b/packages/main/src/Table.ts
@@ -381,13 +381,7 @@ class Table extends UI5Element {
/**
* Defines the mode of the component.
- *
- * Available options are:
- *
- * MultiSelect
- * SingleSelect
- * None
- *
+ *
* @type {sap.ui.webc.main.types.TableMode}
* @name sap.ui.webc.main.Table.prototype.mode
* @defaultvalue "None"
diff --git a/packages/playground/_stories/main/Table/Table.stories.ts b/packages/playground/_stories/main/Table/Table.stories.ts
index 0175d878e277..a35855f09fbe 100644
--- a/packages/playground/_stories/main/Table/Table.stories.ts
+++ b/packages/playground/_stories/main/Table/Table.stories.ts
@@ -49,465 +49,476 @@ const Template: UI5StoryArgs = (args) => html`
`;
-export const BasicTable = Template.bind({});
-BasicTable.args = {
+export const Basic= Template.bind({});
+Basic.decorators = [
+ (story) => {
+ return html`
+
+ ${story()}`;
+ }
+]
+Basic.args = {
+ mode: TableMode.None,
columns: `
-
- Product
-
-
- Supplier
-
-
-
-`,
-default:`
-
-
-
- Notebook Basic 15
- HT-1000
-
-
-
- Very Best Screens
-
-
- 30 x 18 x 3cm
-
-
- 4.2KG
-
-
- 956EUR
-
-`
+
+ Product
+
+
+ Supplier
+
+
+
+ `,
+ default:`
+
+
+ Notebook Basic 15
+
+
+ Very Best Screens
+
+
+ 30 x 18 x 3cm
+
+
+ 4.2KG
+
+
+ 956EUR
+
+ `
};
-export const TableDisplayInline = Template.bind({});
-TableDisplayInline.args = {
+export const PopinDisplayInline = Template.bind({});
+PopinDisplayInline.decorators = [
+ (story) => {
+ return html`
+
+ ${story()}`;
+ }
+]
+PopinDisplayInline.args = {
columns: `
-
- Product
-
-
- Supplier
-
-
-
-`,
-default: `
-
-
-
- Notebook Basic 15
- HT-1000
-
-
-
- Very Best Screens
-
-
- 30 x 18 x 3cm
-
-
- 4.2KG
-
-
- 956EUR
-
-
-
-
-
- Notebook Basic 175
- HT-1001
-
-
-
- Very Best Screens
-
-
- 29 x 17 x 3.1cm
-
-
- 4.5KG
-
-
- 1249EUR
-
-
-
-
-
- Notebook Basic 18
- HT-1002
-
-
-
- Very Best Screens
-
-
- 28 x 19 x 2.5cm
-
-
- 4.2KG
-
-
- 1570EUR
-
-`
+
+ Product
+
+
+ Supplier
+
+
+
+ `,
+ default: `
+
+
+ Notebook Basic 15
+
+
+ Very Best Screens
+
+
+ 30 x 18 x 3cm
+
+
+ 4.2KG
+
+
+ 956EUR
+
+
+
+
+ Notebook Basic 175
+
+
+ Very Best Screens
+
+
+ 29 x 17 x 3.1cm
+
+
+ 4.5KG
+
+
+ 1249EUR
+
+
+
+
+ Notebook Basic 18
+
+
+ Very Best Screens
+
+
+ 28 x 19 x 2.5cm
+
+
+ 4.2KG
+
+
+ 1570EUR
+
+ `
}
-export const TableStickyHeader = Template.bind({});
-TableStickyHeader.decorators = [
+export const StickyHeader = Template.bind({});
+StickyHeader.decorators = [
story => {
return html`
-
- ${story()}
-
-`;
+
+
+ ${story()}
+
`;
}
]
-TableStickyHeader.args = {
- columns: `
-
- Product
-
-
- Supplier
-
-
-
-`,
+StickyHeader.args = {
stickyColumnHeader: true,
+ columns: `
+
+ Product
+
+
+ Supplier
+
+
+
+ `,
default: `
-
-
-
- Notebook Basic 15
- HT-1000
-
-
-
- Very Best Screens
-
-
- 30 x 18 x 3cm
-
-
- 4.2KG
-
-
- 956EUR
-
-
-
-
-
- Notebook Basic 175
- HT-1001
-
-
-
- Very Best Screens
-
-
- 29 x 17 x 3.1cm
-
-
- 4.5KG
-
-
- 1249EUR
-
-
-
-
-
- Notebook Basic 18
- HT-1002
-
-
-
- Very Best Screens
-
-
- 28 x 19 x 2.5cm
-
-
- 4.2KG
-
-
- 1570EUR
-
-
-
-
-
- Notebook Basic 19
- HT-1003
-
-
-
- Smartcards
-
-
- 32 x 21 x 4cm
-
-
- 4.2KG
-
-
- 1650EUR
-
-`
+
+
+ Notebook Basic 15
+
+
+ Very Best Screens
+
+
+ 30 x 18 x 3cm
+
+
+ 4.2KG
+
+
+ 956EUR
+
+
+
+
+ Notebook Basic 175
+
+
+ Very Best Screens
+
+
+ 29 x 17 x 3.1cm
+
+
+ 4.5KG
+
+
+ 1249EUR
+
+
+
+
+ Notebook Basic 18
+
+
+ Very Best Screens
+
+
+ 28 x 19 x 2.5cm
+
+
+ 4.2KG
+
+
+ 1570EUR
+
+
+
+
+ Notebook Basic 19
+
+
+ Smartcards
+
+
+ 32 x 21 x 4cm
+
+
+ 4.2KG
+
+
+ 1650EUR
+
+ `
};
-export const TableNoData = Template.bind({});
-TableNoData.args = {
+export const NoData = Template.bind({});
+NoData.decorators = [
+ (story) => {
+ return html`
+
+ ${story()}`;
+ }
+]
+NoData.args = {
+ noDataText: "No Data",
columns: `
-
- Product
-
-
- Supplier
-
-
-
-`,
- noDataText: "No Data"
+
+ Product
+
+
+ Supplier
+
+
+
+ `
};
-TableNoData.storyName = "Table with No Data";
-
export const GrowingTableMoreButton= Template.bind({});
-
+NoData.decorators = [
+ (story) => {
+ return html`
+
+ ${story()}`;
+ }
+]
GrowingTableMoreButton.args = {
growing: TableGrowingMode.Button,
columns: `
-
- Product
-
-
- Supplier
-
-
-
-`
+
+ Product
+
+
+ Supplier
+
+
+
+ `
};
GrowingTableMoreButton.decorators = [
story => {
return html`
-${story()}
-
-
-`;
+ ${story()}
+
+ `;
}
]
-GrowingTableMoreButton.storyName = 'Growing Table with "More" button';
+GrowingTableMoreButton.storyName = 'Growing with "More" Button';
export const GrowingTableScroll = Template.bind({});
GrowingTableScroll.args = {
growing: TableGrowingMode.Scroll,
columns: `
-
- Product
-
-
- Supplier
-
-
-
- Dimensions
-
-
-
- Weight
-
-
- Price
-`
+
+ Product
+
+
+ Supplier
+
+
+
+ Dimensions
+
+
+
+ Weight
+
+
+ Price
+ `
}
-
GrowingTableScroll.decorators = [
story => {
return html `
-
- ${story()}
-
-
-
-`;
+
+ ${story()}
+
+
+ `;
}
]
-GrowingTableScroll.storyName = "Growing Table on Scroll";
+GrowingTableScroll.storyName = "Growing on Scroll";
export const GroupingTableSelect= Template.bind({});
GroupingTableSelect.args = {
mode: TableMode.SingleSelect,
columns: `
-
- City
-
-
- Supplier
-
-
- Country
-
- `,
+
+ City
+
+
+ Supplier
+
+
+ Country
+
+ `,
default: `
- Country: Bulgaria
-
- Sofia
- Company 1
- Bulgaria
-
-
- Plovdiv
- Company 2
- Bulgaria
-
- Country: USA
-
- Denver
- Company 3
- USA
-
-
- Boston
- Company 4
- USA
-
- `
+ Country: Bulgaria
+
+ Sofia
+ Company 1
+ Bulgaria
+
+
+ Plovdiv
+ Company 2
+ Bulgaria
+
+ Country: USA
+
+ Denver
+ Company 3
+ USA
+
+
+ Boston
+ Company 4
+ USA
+
+ `
}
-GroupingTableSelect.storyName = "Table with grouping and select mode";
\ No newline at end of file
+GroupingTableSelect.storyName = "Grouping and Selection";
\ No newline at end of file