Skip to content

Commit

Permalink
Merge pull request #1088 from Infineon/1087-documentation-table-update
Browse files Browse the repository at this point in the history
Documentation: table update
  • Loading branch information
verena-ifx committed Apr 2, 2024
2 parents 1d5841e + a34ded5 commit 843229a
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion packages/components/src/components/table-basic-version/Usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import TableBasicVersionExampleDefault from '../../../public-storybook/images/ta
import TableBasicVersionHeaderTemplateItems from '../../../public-storybook/images/table-basic-version/table-header-template-items.png';
import TableBasicVersionHeaderSortingItems from '../../../public-storybook/images/table-basic-version/table-header-sorting-items.png';
import TableBasicVersionHeaderContentLogic from '../../../public-storybook/images/table-basic-version/table-header-content-logic.png';
import TableBasicVersionHeaderColumnActionReorder from '../../../public-storybook/images/table-basic-version/table-header-column-action-reorder.png';
import TableBasicVersionHeaderColumnActionResize from '../../../public-storybook/images/table-basic-version/table-header-column-action-resize.png';

<Meta of={TableBasicVersionStories} />

Expand Down Expand Up @@ -67,10 +69,18 @@ To display a table generously with more white space, the DDS offers this default
When it comes to show a lot of data in a table, you can end up with a very long table. In such cases, the compact table variant is the best option.
<img src={TableBasicVersionExampleCompact} alt="Table Example Compact" />

## Sorting
## Table Actions
### Sorting
Our table component supports sorting columns in ascending or descending order, facilitating quick data analysis. Additionally, users can often filter data directly within the table, enhancing data manipulation capabilities.
<img src={TableBasicVersionHeaderSortingItems} alt="Table Sorting Items" />

### Reorder
Users have different preferences and workflows. Allowing them to reorder columns lets them tailor the table layout to suit their specific needs.
<img src={TableBasicVersionHeaderColumnActionReorder} alt="Table Column Reorder" />

### Resize
Resizing columns enables users to adjust the width of columns to fit the content they contain. This ensures that data is displayed more clearly and is easier to read, reducing the need for horizontal scrolling.
<img src={TableBasicVersionHeaderColumnActionResize} alt="Table Column Resize" />

***
Check out the Figma component: **[Table](https://www.figma.com/file/zPvPwPgb4EsYFXKC2nhzSG/Infineon-DDS-%7C-Main?type=design&node-id=16048-11054&mode=design&t=vxTx374xQDtV53ic-4)**
Expand Down

0 comments on commit 843229a

Please sign in to comment.