@fundamental-styles/mcp 0.41.7-rc.8 → 0.41.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/data/AI_USAGE.md +425 -0
  2. package/data/CHANGELOG.md +53 -3
  3. package/data/component-catalog.json +62 -209
  4. package/data/components/README.md +281 -0
  5. package/data/components/action-bar.md +443 -0
  6. package/data/components/ai-busy-indicator.md +79 -0
  7. package/data/components/ai-loading-bar.md +66 -0
  8. package/data/components/avatar-btp.md +198 -0
  9. package/data/components/avatar-group.md +2660 -0
  10. package/data/components/avatar-product-switch.md +476 -0
  11. package/data/components/avatar.md +993 -0
  12. package/data/components/bar.md +574 -0
  13. package/data/components/border-radius.md +148 -0
  14. package/data/components/border.md +412 -0
  15. package/data/components/breadcrumb.md +546 -0
  16. package/data/components/button-2.md +440 -0
  17. package/data/components/button-action-sheet.md +292 -0
  18. package/data/components/button-ai.md +730 -0
  19. package/data/components/button-btp.md +223 -0
  20. package/data/components/button-button.md +233 -0
  21. package/data/components/button-counter.md +176 -0
  22. package/data/components/button-patterns.md +731 -0
  23. package/data/components/button-split.md +459 -0
  24. package/data/components/button.md +469 -0
  25. package/data/components/calendar.md +5784 -0
  26. package/data/components/card-card-media.md +707 -0
  27. package/data/components/card-card.md +2426 -0
  28. package/data/components/card-layouts.md +1201 -0
  29. package/data/components/card.md +2404 -0
  30. package/data/components/carousel.md +1506 -0
  31. package/data/components/code.md +139 -0
  32. package/data/components/component-reset.md +272 -0
  33. package/data/components/components-icons-businesssuiteinappsymbol-icons.md +85 -0
  34. package/data/components/components-icons-sap-icons.md +147 -0
  35. package/data/components/components-icons-tnt-icons.md +85 -0
  36. package/data/components/container-queries.md +221 -0
  37. package/data/components/container.md +227 -0
  38. package/data/components/dialog-docs-static-busy-indicator.md +165 -0
  39. package/data/components/dialog-docs-static-dialog.md +949 -0
  40. package/data/components/dialog-docs-static-patterns.md +147 -0
  41. package/data/components/dialog-docs-static-settings.md +528 -0
  42. package/data/components/dialog-docs-static.md +982 -0
  43. package/data/components/dialog.md +606 -0
  44. package/data/components/dynamic-page-dynamic-page.md +1914 -0
  45. package/data/components/dynamic-page.md +973 -0
  46. package/data/components/dynamic-side.md +197 -0
  47. package/data/components/elevation.md +110 -0
  48. package/data/components/feed-input.md +346 -0
  49. package/data/components/feed-list.md +580 -0
  50. package/data/components/fieldset-2.md +292 -0
  51. package/data/components/fieldset-forms.md +169 -0
  52. package/data/components/fieldset.md +381 -0
  53. package/data/components/flexible-column-layout.md +205 -0
  54. package/data/components/form-group.md +287 -0
  55. package/data/components/form-header.md +71 -0
  56. package/data/components/form-item-2.md +98 -0
  57. package/data/components/form-item-3.md +134 -0
  58. package/data/components/form-item-4.md +556 -0
  59. package/data/components/form-item-5.md +182 -0
  60. package/data/components/form-item-6.md +539 -0
  61. package/data/components/form-item-7.md +239 -0
  62. package/data/components/form-item-ai.md +158 -0
  63. package/data/components/form-item-file-uploader.md +445 -0
  64. package/data/components/form-item-forms.md +234 -0
  65. package/data/components/form-item-patterns.md +426 -0
  66. package/data/components/form-item.md +464 -0
  67. package/data/components/form-label-ai.md +126 -0
  68. package/data/components/form-label-layouts.md +306 -0
  69. package/data/components/form-label-patterns.md +1175 -0
  70. package/data/components/form-label-status-indicator.md +1083 -0
  71. package/data/components/form-label-step-input.md +620 -0
  72. package/data/components/form-label.md +2876 -0
  73. package/data/components/generic-tag.md +747 -0
  74. package/data/components/grid-list-grid-list.md +1185 -0
  75. package/data/components/grid-list.md +1449 -0
  76. package/data/components/heading.md +66 -0
  77. package/data/components/horizontal-navigation.md +568 -0
  78. package/data/components/icon-tab-bar-dev.md +190 -0
  79. package/data/components/icon-tab-bar.md +2620 -0
  80. package/data/components/icon.md +171 -0
  81. package/data/components/iconBusinessSuite.md +92 -0
  82. package/data/components/iconTnt.md +92 -0
  83. package/data/components/illustrated-message.md +439 -0
  84. package/data/components/info-label.md +348 -0
  85. package/data/components/input-group.md +2068 -0
  86. package/data/components/label.md +66 -0
  87. package/data/components/layout-grid.md +447 -0
  88. package/data/components/layout-panel.md +261 -0
  89. package/data/components/layouts-layout-grid.md +608 -0
  90. package/data/components/layouts-paddings.md +133 -0
  91. package/data/components/layouts-section.md +287 -0
  92. package/data/components/list-2.md +148 -0
  93. package/data/components/list-3.md +735 -0
  94. package/data/components/list-list.md +790 -0
  95. package/data/components/list-object-list.md +1225 -0
  96. package/data/components/list.md +1286 -0
  97. package/data/components/media-queries.md +168 -0
  98. package/data/components/menu.md +946 -0
  99. package/data/components/message-box-docs-static-ai.md +149 -0
  100. package/data/components/message-box-docs-static.md +527 -0
  101. package/data/components/message-page-upload-collection.md +678 -0
  102. package/data/components/message-page.md +256 -0
  103. package/data/components/message-strip.md +977 -0
  104. package/data/components/message-toast.md +119 -0
  105. package/data/components/micro-process-flow.md +991 -0
  106. package/data/components/navigation-menu.md +366 -0
  107. package/data/components/navigation-navigation.md +1245 -0
  108. package/data/components/navigation.md +2604 -0
  109. package/data/components/numeric-content.md +317 -0
  110. package/data/components/object-attribute.md +96 -0
  111. package/data/components/object-identifier.md +227 -0
  112. package/data/components/object-marker.md +202 -0
  113. package/data/components/object-number.md +327 -0
  114. package/data/components/object-status.md +1538 -0
  115. package/data/components/off-screen.md +87 -0
  116. package/data/components/overflow.md +97 -0
  117. package/data/components/padding.md +122 -0
  118. package/data/components/paddings.md +130 -0
  119. package/data/components/page.md +300 -0
  120. package/data/components/pagination.md +672 -0
  121. package/data/components/panel-layouts.md +345 -0
  122. package/data/components/panel.md +514 -0
  123. package/data/components/patterns-label.md +74 -0
  124. package/data/components/popover-2.md +906 -0
  125. package/data/components/popover-ai.md +466 -0
  126. package/data/components/popover-btp.md +886 -0
  127. package/data/components/popover-deprecated.md +308 -0
  128. package/data/components/popover-message-popover.md +683 -0
  129. package/data/components/popover-notification.md +1511 -0
  130. package/data/components/popover-patterns.md +1100 -0
  131. package/data/components/popover-popover.md +1862 -0
  132. package/data/components/popover-quick-view.md +385 -0
  133. package/data/components/popover-timepicker.md +1836 -0
  134. package/data/components/popover-user-menu.md +1303 -0
  135. package/data/components/popover.md +1938 -0
  136. package/data/components/progress-indicator.md +351 -0
  137. package/data/components/prompt-input-ai.md +226 -0
  138. package/data/components/prompt-input.md +226 -0
  139. package/data/components/rating-indicator.md +1469 -0
  140. package/data/components/resizable-card-layout.md +951 -0
  141. package/data/components/scrollbar.md +86 -0
  142. package/data/components/search-field.md +287 -0
  143. package/data/components/section.md +250 -0
  144. package/data/components/segmented-button.md +324 -0
  145. package/data/components/shellbar.md +2183 -0
  146. package/data/components/side-nav.md +1562 -0
  147. package/data/components/skeleton.md +243 -0
  148. package/data/components/slider.md +395 -0
  149. package/data/components/splitter.md +353 -0
  150. package/data/components/table.md +2749 -0
  151. package/data/components/tabs.md +658 -0
  152. package/data/components/text-text.md +380 -0
  153. package/data/components/text.md +253 -0
  154. package/data/components/tile.md +1132 -0
  155. package/data/components/time.md +818 -0
  156. package/data/components/title.md +153 -0
  157. package/data/components/titles.md +83 -0
  158. package/data/components/token.md +311 -0
  159. package/data/components/tokenizer.md +398 -0
  160. package/data/components/tool-header.md +1352 -0
  161. package/data/components/tool-layout.md +199 -0
  162. package/data/components/toolbar-ai.md +174 -0
  163. package/data/components/toolbar-btp.md +526 -0
  164. package/data/components/toolbar-title-bar.md +473 -0
  165. package/data/components/toolbar.md +432 -0
  166. package/data/components/tree.md +1031 -0
  167. package/data/components/typography.md +435 -0
  168. package/data/components/variant-management.md +360 -0
  169. package/data/components/vertical-nav.md +589 -0
  170. package/data/components/wizard.md +1429 -0
  171. package/data/examples/Components/dialog/device-specifications.example.html +39 -30
  172. package/data/examples/Components/shellbar/optional-items.example.html +210 -157
  173. package/data/examples/Components/shellbar/overflow-toolbar.example.html +202 -177
  174. package/data/examples/Components/shellbar/responsive-paddings.example.html +217 -146
  175. package/data/examples/Components/shellbar/responsiveness.example.html +825 -613
  176. package/data/examples/Components/user-menu/default.example.html +241 -83
  177. package/data/schemas/badge.schema.json +1 -1
  178. package/data/schemas/button-split.schema.json +1 -1
  179. package/data/schemas/component-frontmatter.schema.json +123 -0
  180. package/data/schemas/component-markdown.schema.json +81 -0
  181. package/data/schemas/counter.schema.json +1 -1
  182. package/data/schemas/dynamic-page.schema.json +1 -1
  183. package/data/schemas/dynamic-side-content.schema.json +1 -1
  184. package/data/schemas/facet.schema.json +1 -1
  185. package/data/schemas/fieldset.schema.json +1 -1
  186. package/data/schemas/flexible-column-layout.schema.json +1 -1
  187. package/data/schemas/form-group.schema.json +3 -2
  188. package/data/schemas/form-header.schema.json +1 -1
  189. package/data/schemas/form-label.schema.json +1 -0
  190. package/data/schemas/form-message.schema.json +1 -1
  191. package/data/schemas/grid-list.schema.json +1 -1
  192. package/data/schemas/input-group.schema.json +1 -1
  193. package/data/schemas/layout-panel.schema.json +1 -1
  194. package/data/schemas/page.schema.json +1 -1
  195. package/data/schemas/quick-view.schema.json +2 -1
  196. package/data/schemas/section.schema.json +1 -1
  197. package/data/schemas/side-nav.schema.json +1 -1
  198. package/data/schemas/splitter.schema.json +1 -1
  199. package/data/schemas/tabs.schema.json +1 -1
  200. package/data/schemas/tile.schema.json +1 -1
  201. package/data/schemas/tool-layout.schema.json +1 -1
  202. package/data/schemas/user-menu.schema.json +10 -0
  203. package/data/schemas/wizard.schema.json +1 -1
  204. package/package.json +1 -1
  205. package/src/data/load-catalog.d.ts +2 -0
  206. package/src/data/load-catalog.js +5 -1
  207. package/src/data/load-catalog.js.map +1 -1
  208. package/src/data/load-markdown-docs.d.ts +44 -0
  209. package/src/data/load-markdown-docs.js +179 -0
  210. package/src/data/load-markdown-docs.js.map +1 -0
  211. package/src/data/markdown-cache.d.ts +60 -0
  212. package/src/data/markdown-cache.js +218 -0
  213. package/src/data/markdown-cache.js.map +1 -0
  214. package/src/server.js +72 -1
  215. package/src/server.js.map +1 -1
@@ -0,0 +1,2749 @@
1
+ ---
2
+ component: fd-table
3
+ title: Components/Table
4
+ category: Components
5
+ selector: fd-table
6
+ cssFile: table.css
7
+ sourcePath: packages/styles/stories/Components/table/table.stories.js
8
+ tags: []
9
+ dependencies: ["bar","button","checkbox","dialog","fieldset","form-label","icon","input","input-group","link","list","menu","object-marker","object-number","object-status","pagination","popover","select","table","text","title","toolbar"]
10
+ relatedComponents: ["bar","button","checkbox","dialog","fieldset","form-label","icon","input","input-group","link","list","menu","object-marker","object-number","object-status","pagination","popover","select","table","text","title","toolbar"]
11
+ stability: stable
12
+ generatedAt: 2026-06-09T18:29:01.352Z
13
+ ---
14
+
15
+ # Components/Table
16
+
17
+ A table contains a set of line items and usually comprises rows (with each row showing one line item) and columns. Line items can contain data of any kind, but also interactive elements, for example, for editing the data, navigating, or triggering actions relating to the line item.
18
+ To display large amounts of data in tabular form, several table components are provided. These are divided into two groups, each of which is defined by a consistent feature set:
19
+
20
+ - Fully responsive tables
21
+ - Desktop-centric tables
22
+
23
+
24
+ ##Usage
25
+ **Use the responsive table if:**
26
+
27
+ - The table content should be flexible and visually appealing. The responsive table offers the most flexibility in regards to its content because multiple components can be used. In addition, different rows can be based on different item templates.
28
+ - The focus lies on working on line items, not on individual cells.
29
+ - A main use case involves selecting one or more items, for which details are needed in order to choose the correct item.
30
+ - Line items are independent of each other and no operation across columns is needed.
31
+ - You want to have only one implementation for all devices.
32
+
33
+
34
+ **Use the grid table if:**
35
+
36
+ - You need to display more than 1,000 rows at the same time.
37
+ - The cell level and the spatial relationship between cells are more important than the line item, such as if users need to recognize patterns in the data, like in waterfall charts.
38
+ - Comparing items is a major use case. The grid table layout remains stable irrespective of the screen width. In addition, a cell only ever contains one component.
39
+ - You need an analytical table, but you cannot provide an analytical binding.
40
+
41
+
42
+ **Do not use the table if:**
43
+
44
+ - You want to display a simple hierarchical dataset.
45
+ - You want to use a hierarchical master list for a master-detail scenario using the **Flexible Column Layout**.
46
+ - Using a tree table would be too complex.
47
+ - The main use case involves selecting one of several hierarchical items with only a few details per item.
48
+
49
+ In these cases, use the **Tree** instead.
50
+
51
+ ## Usage Guidelines
52
+
53
+ **Use the responsive table if:**
54
+
55
+ - The table content should be flexible and visually appealing. The responsive table offers the most flexibility in regards to its content because multiple components can be used. In addition, different rows can be based on different item templates.
56
+ - The focus lies on working on line items, not on individual cells.
57
+ - A main use case involves selecting one or more items, for which details are needed in order to choose the correct item.
58
+ - Line items are independent of each other and no operation across columns is needed.
59
+ - You want to have only one implementation for all devices.
60
+
61
+ ## When Not To Use
62
+
63
+ - You want to display a simple hierarchical dataset.
64
+ - You want to use a hierarchical master list for a master-detail scenario using the **Flexible Column Layout**.
65
+ - Using a tree table would be too complex.
66
+ - The main use case involves selecting one of several hierarchical items with only a few details per item.
67
+
68
+ In these cases, use the **Tree** instead.
69
+
70
+ ## Dependencies
71
+
72
+ This component depends on the following CSS files:
73
+
74
+ - `bar.css`
75
+ - `button.css`
76
+ - `checkbox.css`
77
+ - `dialog.css`
78
+ - `fieldset.css`
79
+ - `form-label.css`
80
+ - `icon.css`
81
+ - `input.css`
82
+ - `input-group.css`
83
+ - `link.css`
84
+ - `list.css`
85
+ - `menu.css`
86
+ - `object-marker.css`
87
+ - `object-number.css`
88
+ - `object-status.css`
89
+ - `pagination.css`
90
+ - `popover.css`
91
+ - `select.css`
92
+ - `table.css`
93
+ - `text.css`
94
+ - `title.css`
95
+ - `toolbar.css`
96
+
97
+ ## Installation
98
+
99
+ ```bash
100
+ npm install fundamental-styles
101
+ ```
102
+
103
+ ```html
104
+ <!-- Include theme -->
105
+ <link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
106
+
107
+ <!-- Include component CSS -->
108
+ <link href="node_modules/fundamental-styles/dist/table.css" rel="stylesheet">
109
+
110
+ <!-- Include dependencies -->
111
+ <link href="node_modules/fundamental-styles/dist/bar.css" rel="stylesheet">
112
+ <link href="node_modules/fundamental-styles/dist/button.css" rel="stylesheet">
113
+ <link href="node_modules/fundamental-styles/dist/checkbox.css" rel="stylesheet">
114
+ <link href="node_modules/fundamental-styles/dist/dialog.css" rel="stylesheet">
115
+ <link href="node_modules/fundamental-styles/dist/fieldset.css" rel="stylesheet">
116
+ <link href="node_modules/fundamental-styles/dist/form-label.css" rel="stylesheet">
117
+ <link href="node_modules/fundamental-styles/dist/icon.css" rel="stylesheet">
118
+ <link href="node_modules/fundamental-styles/dist/input.css" rel="stylesheet">
119
+ <link href="node_modules/fundamental-styles/dist/input-group.css" rel="stylesheet">
120
+ <link href="node_modules/fundamental-styles/dist/link.css" rel="stylesheet">
121
+ <link href="node_modules/fundamental-styles/dist/list.css" rel="stylesheet">
122
+ <link href="node_modules/fundamental-styles/dist/menu.css" rel="stylesheet">
123
+ <link href="node_modules/fundamental-styles/dist/object-marker.css" rel="stylesheet">
124
+ <link href="node_modules/fundamental-styles/dist/object-number.css" rel="stylesheet">
125
+ <link href="node_modules/fundamental-styles/dist/object-status.css" rel="stylesheet">
126
+ <link href="node_modules/fundamental-styles/dist/pagination.css" rel="stylesheet">
127
+ <link href="node_modules/fundamental-styles/dist/popover.css" rel="stylesheet">
128
+ <link href="node_modules/fundamental-styles/dist/select.css" rel="stylesheet">
129
+ <link href="node_modules/fundamental-styles/dist/table.css" rel="stylesheet">
130
+ <link href="node_modules/fundamental-styles/dist/text.css" rel="stylesheet">
131
+ <link href="node_modules/fundamental-styles/dist/title.css" rel="stylesheet">
132
+ <link href="node_modules/fundamental-styles/dist/toolbar.css" rel="stylesheet">
133
+ ```
134
+
135
+ ## Basic Usage
136
+
137
+ ```html
138
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
139
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
140
+ </div>
141
+ <table class="fd-table">
142
+ <thead class="fd-table__header">
143
+ <tr class="fd-table__row">
144
+ <th class="fd-table__cell" scope="col">Column Header</th>
145
+ <th class="fd-table__cell" scope="col">Column Header</th>
146
+ <th class="fd-table__cell" scope="col">Column Header</th>
147
+ <th class="fd-table__cell" scope="col">Column Header</th>
148
+ <th class="fd-table__cell" scope="col">Column Header</th>
149
+ </tr>
150
+ </thead>
151
+ <tbody class="fd-table__body">
152
+ <tr class="fd-table__row">
153
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
154
+ <td class="fd-table__cell">
155
+ <div class="fd-table__text fd-table__text--no-wrap">
156
+ Very long Text Not Wrapped, limited by max-width
157
+ Very long Text Not Wrapped, limited by max-width
158
+ Very long Text Not Wrapped, limited by max-width
159
+ Very long Text Not Wrapped, limited by max-width
160
+ Very long Text Not Wrapped, limited by max-width
161
+ Very long Text Not Wrapped, limited by max-width
162
+ </div>
163
+ </td>
164
+ <td class="fd-table__cell">Middle Name</td>
165
+ <td class="fd-table__cell">Last Name</td>
166
+ <td class="fd-table__cell">01/26/17</td>
167
+ </tr>
168
+ <tr class="fd-table__row">
169
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
170
+ <td class="fd-table__cell">
171
+ <div class="fd-table__text">
172
+ Very long Text Wrapped, limited by max-width
173
+ Very long Text Wrapped, limited by max-width
174
+ Very long Text Wrapped, limited by max-width
175
+ Very long Text Wrapped, limited by max-width
176
+ </div>
177
+ </td>
178
+ <td class="fd-table__cell">Middle Name</td>
179
+ <td class="fd-table__cell">Last Name</td>
180
+ <td class="fd-table__cell">01/26/17</td>
181
+ </tr>
182
+ <tr class="fd-table__row">
183
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
184
+ <td class="fd-table__cell">First Name</td>
185
+ <td class="fd-table__cell">Middle Name</td>
186
+ <td class="fd-table__cell">Last Name</td>
187
+ <td class="fd-table__cell">01/26/17</td>
188
+ </tr>
189
+ </tbody>
190
+ </table>
191
+
192
+ <h4>Individual non-interactive header cells</h4>
193
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
194
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
195
+ </div>
196
+ <table class="fd-table">
197
+ <thead class="fd-table__header">
198
+ <tr class="fd-table__row">
199
+ <th class="fd-table__cell fd-table__cell--non-interactive" scope="col">Non-interactive Column Header</th>
200
+ <th class="fd-table__cell" scope="col">Column Header</th>
201
+ <th class="fd-table__cell" scope="col">Column Header</th>
202
+ <th class="fd-table__cell" scope="col">Column Header</th>
203
+ <th class="fd-table__cell fd-table__cell--non-interactive" scope="col">Non-interactive Column Header</th>
204
+ </tr>
205
+ </thead>
206
+ <tbody class="fd-table__body">
207
+ <tr class="fd-table__row">
208
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
209
+ <td class="fd-table__cell">
210
+ <div class="fd-table__text fd-table__text--no-wrap">
211
+ Very long Text Not Wrapped, limited by max-width
212
+ Very long Text Not Wrapped, limited by max-width
213
+ Very long Text Not Wrapped, limited by max-width
214
+ Very long Text Not Wrapped, limited by max-width
215
+ Very long Text Not Wrapped, limited by max-width
216
+ Very long Text Not Wrapped, limited by max-width
217
+ </div>
218
+ </td>
219
+ <td class="fd-table__cell">Middle Name</td>
220
+ <td class="fd-table__cell">Last Name</td>
221
+ <td class="fd-table__cell">01/26/17</td>
222
+ </tr>
223
+ <tr class="fd-table__row">
224
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
225
+ <td class="fd-table__cell">
226
+ <div class="fd-table__text">
227
+ Very long Text Wrapped, limited by max-width
228
+ Very long Text Wrapped, limited by max-width
229
+ Very long Text Wrapped, limited by max-width
230
+ Very long Text Wrapped, limited by max-width
231
+ </div>
232
+ </td>
233
+ <td class="fd-table__cell">Middle Name</td>
234
+ <td class="fd-table__cell">Last Name</td>
235
+ <td class="fd-table__cell">01/26/17</td>
236
+ </tr>
237
+ <tr class="fd-table__row">
238
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
239
+ <td class="fd-table__cell">First Name</td>
240
+ <td class="fd-table__cell">Middle Name</td>
241
+ <td class="fd-table__cell">Last Name</td>
242
+ <td class="fd-table__cell">01/26/17</td>
243
+ </tr>
244
+ </tbody>
245
+ </table>
246
+
247
+ <h4>Non-interactive header cells</h4>
248
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
249
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
250
+ </div>
251
+ <table class="fd-table">
252
+ <thead class="fd-table__header fd-table__header--non-interactive">
253
+ <tr class="fd-table__row">
254
+ <th class="fd-table__cell" scope="col">Column Header</th>
255
+ <th class="fd-table__cell" scope="col">Column Header</th>
256
+ <th class="fd-table__cell" scope="col">Column Header</th>
257
+ <th class="fd-table__cell" scope="col">Column Header</th>
258
+ <th class="fd-table__cell" scope="col">Column Header</th>
259
+ </tr>
260
+ </thead>
261
+ <tbody class="fd-table__body">
262
+ <tr class="fd-table__row">
263
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
264
+ <td class="fd-table__cell">
265
+ <div class="fd-table__text fd-table__text--no-wrap">
266
+ Very long Text Not Wrapped, limited by max-width
267
+ Very long Text Not Wrapped, limited by max-width
268
+ Very long Text Not Wrapped, limited by max-width
269
+ Very long Text Not Wrapped, limited by max-width
270
+ Very long Text Not Wrapped, limited by max-width
271
+ Very long Text Not Wrapped, limited by max-width
272
+ </div>
273
+ </td>
274
+ <td class="fd-table__cell">Middle Name</td>
275
+ <td class="fd-table__cell">Last Name</td>
276
+ <td class="fd-table__cell">01/26/17</td>
277
+ </tr>
278
+ <tr class="fd-table__row">
279
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
280
+ <td class="fd-table__cell">
281
+ <div class="fd-table__text">
282
+ Very long Text Wrapped, limited by max-width
283
+ Very long Text Wrapped, limited by max-width
284
+ Very long Text Wrapped, limited by max-width
285
+ Very long Text Wrapped, limited by max-width
286
+ </div>
287
+ </td>
288
+ <td class="fd-table__cell">Middle Name</td>
289
+ <td class="fd-table__cell">Last Name</td>
290
+ <td class="fd-table__cell">01/26/17</td>
291
+ </tr>
292
+ <tr class="fd-table__row">
293
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
294
+ <td class="fd-table__cell">First Name</td>
295
+ <td class="fd-table__cell">Middle Name</td>
296
+ <td class="fd-table__cell">Last Name</td>
297
+ <td class="fd-table__cell">01/26/17</td>
298
+ </tr>
299
+ </tbody>
300
+ </table>
301
+ ```
302
+
303
+ ## Modifiers
304
+
305
+ | Class | Description |
306
+ |-------|-------------|
307
+ | `fd-table--condensed` | Table can be displayed with a footer |
308
+ | `fd-table--fixed` | Table can display fixed header, footer and columns (both, on the left and right) |
309
+ | `fd-table--group` | Table can have group rows, to get this do the following:
310
+
311
+ - Add \ |
312
+ | `fd-table--no-horizontal-borders` | Style variant |
313
+ | `fd-table--no-outer-border` | Style variant |
314
+ | `fd-table--no-vertical-borders` | Style variant |
315
+ | `fd-table--pop-in` | The responsive table can be displayed in pop-in mode for mobile and tablet screens |
316
+ | `fd-table--responsive` | Responsive table allows navigation from a line item |
317
+ | `fd-table--tree` | Table can show tree-like rows, to get this do the following:
318
+
319
+ - Add \ |
320
+
321
+ ## States
322
+
323
+ | Class | Description |
324
+ |-------|-------------|
325
+ | `is-selected` | Selected state |
326
+
327
+ ## BEM Elements
328
+
329
+ This component uses the following BEM elements:
330
+
331
+ - `fd-table__body`
332
+ - `fd-table__body--no-horizontal-borders`
333
+ - `fd-table__body--no-vertical-borders`
334
+ - `fd-table__caption`
335
+ - `fd-table__cell`
336
+ - `fd-table__cell--activable`
337
+ - `fd-table__cell--checkbox`
338
+ - `fd-table__cell--error`
339
+ - `fd-table__cell--expand`
340
+ - `fd-table__cell--fit-content`
341
+ - `fd-table__cell--fixed`
342
+ - `fd-table__cell--fixed-end`
343
+ - `fd-table__cell--fixed-end-last`
344
+ - `fd-table__cell--fixed-last`
345
+ - `fd-table__cell--focusable`
346
+ - `fd-table__cell--group`
347
+ - `fd-table__cell--hoverable`
348
+ - `fd-table__cell--information`
349
+ - `fd-table__cell--navigated`
350
+ - `fd-table__cell--no-data`
351
+ - `fd-table__cell--no-padding`
352
+ - `fd-table__cell--non-interactive`
353
+ - `fd-table__cell--status-indicator`
354
+ - `fd-table__cell--status-indicator--error`
355
+ - `fd-table__cell--status-indicator--information`
356
+ - `fd-table__cell--status-indicator--valid`
357
+ - `fd-table__cell--status-indicator--warning`
358
+ - `fd-table__cell--valid`
359
+ - `fd-table__cell--warning`
360
+ - `fd-table__checkbox`
361
+ - `fd-table__checkbox-label`
362
+ - `fd-table__expand`
363
+ - `fd-table__expand--open`
364
+ - `fd-table__footer`
365
+ - `fd-table__header`
366
+ - `fd-table__header--non-interactive`
367
+ - `fd-table__icon`
368
+ - `fd-table__icon--navigation`
369
+ - `fd-table__inner`
370
+ - `fd-table__popover`
371
+ - `fd-table__row`
372
+ - `fd-table__row--activable`
373
+ - `fd-table__row--focusable`
374
+ - `fd-table__row--hoverable`
375
+ - `fd-table__row--main`
376
+ - `fd-table__row--secondary`
377
+ - `fd-table__sr-only`
378
+ - `fd-table__text`
379
+ - `fd-table__text--no-wrap`
380
+ - `fd-table__text--title`
381
+
382
+ ## Related Components
383
+
384
+ This component works with or depends on:
385
+
386
+ - `bar`
387
+ - `button`
388
+ - `checkbox`
389
+ - `dialog`
390
+ - `fieldset`
391
+ - `form-label`
392
+ - `icon`
393
+ - `input`
394
+ - `input-group`
395
+ - `link`
396
+ - `list`
397
+ - `menu`
398
+ - `object-marker`
399
+ - `object-number`
400
+ - `object-status`
401
+ - `pagination`
402
+ - `popover`
403
+ - `select`
404
+ - `table`
405
+ - `text`
406
+ - `title`
407
+ - `toolbar`
408
+
409
+ ## Design Tokens
410
+
411
+ Key CSS variables used by this component:
412
+
413
+ - `--activable`
414
+ - `--checkbox`
415
+ - `--clickable`
416
+ - `--fdTable_Border_Radius`
417
+ - `--fdTable_Cell_Height`
418
+ - `--fdTable_Cell_Horizontal_Border_Style`
419
+ - `--fdTable_Cell_Vertical_Border_Style`
420
+ - `--fdTable_Condensed_Focus_Outline_Offset`
421
+ - `--fdTable_Header_Cell_Active_Background`
422
+ - `--fdTable_Header_Cell_Height`
423
+ - `--fdTable_Header_Cell_Hover_Active_Color`
424
+ - `--fdTable_Header_Cell_Hover_Background`
425
+ - `--fdTable_Header_Horizontal_Border`
426
+ - `--fdTable_Hover_Down_Color`
427
+ - `--fit-content`
428
+
429
+ *...and 5 more*
430
+
431
+ ## Examples
432
+
433
+ ### Primary
434
+
435
+ The primary table contains columns with headers, and rows with links. In the first column, links are displayed. To display links within a table, add the \
436
+
437
+ ```html
438
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
439
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
440
+ </div>
441
+ <table class="fd-table">
442
+ <thead class="fd-table__header">
443
+ <tr class="fd-table__row">
444
+ <th class="fd-table__cell" scope="col">Column Header</th>
445
+ <th class="fd-table__cell" scope="col">Column Header</th>
446
+ <th class="fd-table__cell" scope="col">Column Header</th>
447
+ <th class="fd-table__cell" scope="col">Column Header</th>
448
+ <th class="fd-table__cell" scope="col">Column Header</th>
449
+ </tr>
450
+ </thead>
451
+ <tbody class="fd-table__body">
452
+ <tr class="fd-table__row">
453
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
454
+ <td class="fd-table__cell">
455
+ <div class="fd-table__text fd-table__text--no-wrap">
456
+ Very long Text Not Wrapped, limited by max-width
457
+ Very long Text Not Wrapped, limited by max-width
458
+ Very long Text Not Wrapped, limited by max-width
459
+ Very long Text Not Wrapped, limited by max-width
460
+ Very long Text Not Wrapped, limited by max-width
461
+ Very long Text Not Wrapped, limited by max-width
462
+ </div>
463
+ </td>
464
+ <td class="fd-table__cell">Middle Name</td>
465
+ <td class="fd-table__cell">Last Name</td>
466
+ <td class="fd-table__cell">01/26/17</td>
467
+ </tr>
468
+ <tr class="fd-table__row">
469
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
470
+ <td class="fd-table__cell">
471
+ <div class="fd-table__text">
472
+ Very long Text Wrapped, limited by max-width
473
+ Very long Text Wrapped, limited by max-width
474
+ Very long Text Wrapped, limited by max-width
475
+ Very long Text Wrapped, limited by max-width
476
+ </div>
477
+ </td>
478
+ <td class="fd-table__cell">Middle Name</td>
479
+ <td class="fd-table__cell">Last Name</td>
480
+ <td class="fd-table__cell">01/26/17</td>
481
+ </tr>
482
+ <tr class="fd-table__row">
483
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
484
+ <td class="fd-table__cell">First Name</td>
485
+ <td class="fd-table__cell">Middle Name</td>
486
+ <td class="fd-table__cell">Last Name</td>
487
+ <td class="fd-table__cell">01/26/17</td>
488
+ </tr>
489
+ </tbody>
490
+ </table>
491
+
492
+ <h4>Individual non-interactive header cells</h4>
493
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
494
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
495
+ </div>
496
+ <table class="fd-table">
497
+ <thead class="fd-table__header">
498
+ <tr class="fd-table__row">
499
+ <th class="fd-table__cell fd-table__cell--non-interactive" scope="col">Non-interactive Column Header</th>
500
+ <th class="fd-table__cell" scope="col">Column Header</th>
501
+ <th class="fd-table__cell" scope="col">Column Header</th>
502
+ <th class="fd-table__cell" scope="col">Column Header</th>
503
+ <th class="fd-table__cell fd-table__cell--non-interactive" scope="col">Non-interactive Column Header</th>
504
+ </tr>
505
+ </thead>
506
+ <tbody class="fd-table__body">
507
+ <tr class="fd-table__row">
508
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
509
+ <td class="fd-table__cell">
510
+ <div class="fd-table__text fd-table__text--no-wrap">
511
+ Very long Text Not Wrapped, limited by max-width
512
+ Very long Text Not Wrapped, limited by max-width
513
+ Very long Text Not Wrapped, limited by max-width
514
+ Very long Text Not Wrapped, limited by max-width
515
+ Very long Text Not Wrapped, limited by max-width
516
+ Very long Text Not Wrapped, limited by max-width
517
+ </div>
518
+ </td>
519
+ <td class="fd-table__cell">Middle Name</td>
520
+ <td class="fd-table__cell">Last Name</td>
521
+ <td class="fd-table__cell">01/26/17</td>
522
+ </tr>
523
+ <tr class="fd-table__row">
524
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
525
+ <td class="fd-table__cell">
526
+ <div class="fd-table__text">
527
+ Very long Text Wrapped, limited by max-width
528
+ Very long Text Wrapped, limited by max-width
529
+ Very long Text Wrapped, limited by max-width
530
+ Very long Text Wrapped, limited by max-width
531
+ </div>
532
+ </td>
533
+ <td class="fd-table__cell">Middle Name</td>
534
+ <td class="fd-table__cell">Last Name</td>
535
+ <td class="fd-table__cell">01/26/17</td>
536
+ </tr>
537
+ <tr class="fd-table__row">
538
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
539
+ <td class="fd-table__cell">First Name</td>
540
+ <td class="fd-table__cell">Middle Name</td>
541
+ <td class="fd-table__cell">Last Name</td>
542
+ <td class="fd-table__cell">01/26/17</td>
543
+ </tr>
544
+ </tbody>
545
+ </table>
546
+
547
+ <h4>Non-interactive header cells</h4>
548
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
549
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
550
+ </div>
551
+ <table class="fd-table">
552
+ <thead class="fd-table__header fd-table__header--non-interactive">
553
+ <tr class="fd-table__row">
554
+ <th class="fd-table__cell" scope="col">Column Header</th>
555
+ <th class="fd-table__cell" scope="col">Column Header</th>
556
+ <th class="fd-table__cell" scope="col">Column Header</th>
557
+ <th class="fd-table__cell" scope="col">Column Header</th>
558
+ <th class="fd-table__cell" scope="col">Column Header</th>
559
+ </tr>
560
+ </thead>
561
+ <tbody class="fd-table__body">
562
+ <tr class="fd-table__row">
563
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
564
+ <td class="fd-table__cell">
565
+ <div class="fd-table__text fd-table__text--no-wrap">
566
+ Very long Text Not Wrapped, limited by max-width
567
+ Very long Text Not Wrapped, limited by max-width
568
+ Very long Text Not Wrapped, limited by max-width
569
+ Very long Text Not Wrapped, limited by max-width
570
+ Very long Text Not Wrapped, limited by max-width
571
+ Very long Text Not Wrapped, limited by max-width
572
+ </div>
573
+ </td>
574
+ <td class="fd-table__cell">Middle Name</td>
575
+ <td class="fd-table__cell">Last Name</td>
576
+ <td class="fd-table__cell">01/26/17</td>
577
+ </tr>
578
+ <tr class="fd-table__row">
579
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
580
+ <td class="fd-table__cell">
581
+ <div class="fd-table__text">
582
+ Very long Text Wrapped, limited by max-width
583
+ Very long Text Wrapped, limited by max-width
584
+ Very long Text Wrapped, limited by max-width
585
+ Very long Text Wrapped, limited by max-width
586
+ </div>
587
+ </td>
588
+ <td class="fd-table__cell">Middle Name</td>
589
+ <td class="fd-table__cell">Last Name</td>
590
+ <td class="fd-table__cell">01/26/17</td>
591
+ </tr>
592
+ <tr class="fd-table__row">
593
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
594
+ <td class="fd-table__cell">First Name</td>
595
+ <td class="fd-table__cell">Middle Name</td>
596
+ <td class="fd-table__cell">Last Name</td>
597
+ <td class="fd-table__cell">01/26/17</td>
598
+ </tr>
599
+ </tbody>
600
+ </table>
601
+ ```
602
+
603
+ ### Borderless
604
+
605
+ Table can be displayed without borders that separate the columns, column headers, and rows. To display a borderless table, add the \
606
+
607
+ ```html
608
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
609
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table Without Borders</h4>
610
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
611
+ </div>
612
+ <table class="fd-table fd-table--no-horizontal-borders fd-table--no-vertical-borders">
613
+ <thead class="fd-table__header">
614
+ <tr class="fd-table__row">
615
+ <th class="fd-table__cell" scope="col">Column Header</th>
616
+ <th class="fd-table__cell" scope="col">Column Header</th>
617
+ <th class="fd-table__cell" scope="col">Column Header</th>
618
+ <th class="fd-table__cell" scope="col">Column Header</th>
619
+ </tr>
620
+ </thead>
621
+ <tbody class="fd-table__body">
622
+ <tr class="fd-table__row">
623
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
624
+ <td class="fd-table__cell">First Name</td>
625
+ <td class="fd-table__cell">Last Name</td>
626
+ <td class="fd-table__cell">01/26/17</td>
627
+ </tr>
628
+ <tr class="fd-table__row">
629
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
630
+ <td class="fd-table__cell">First Name</td>
631
+ <td class="fd-table__cell">Last Name</td>
632
+ <td class="fd-table__cell">01/26/17</td>
633
+ </tr>
634
+ </tbody>
635
+ </table>
636
+ ```
637
+
638
+ ### Borderless (body)
639
+
640
+ Table can be displayed without borders that separate the columns and rows only, leaving the column headers with borders. To display a borderless table body, add the \
641
+
642
+ ```html
643
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
644
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table Without Borders On Body</h4>
645
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
646
+ </div>
647
+ <table class="fd-table">
648
+ <thead class="fd-table__header">
649
+ <tr class="fd-table__row">
650
+ <th class="fd-table__cell" scope="col">Column Header</th>
651
+ <th class="fd-table__cell" scope="col">Column Header</th>
652
+ <th class="fd-table__cell" scope="col">Column Header</th>
653
+ <th class="fd-table__cell" scope="col">Column Header</th>
654
+ </tr>
655
+ </thead>
656
+ <tbody class="fd-table__body fd-table__body--no-horizontal-borders fd-table__body--no-vertical-borders">
657
+ <tr class="fd-table__row">
658
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
659
+ <td class="fd-table__cell">First Name</td>
660
+ <td class="fd-table__cell">Last Name</td>
661
+ <td class="fd-table__cell">01/26/17</td>
662
+ </tr>
663
+ <tr class="fd-table__row">
664
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
665
+ <td class="fd-table__cell">First Name</td>
666
+ <td class="fd-table__cell">Last Name</td>
667
+ <td class="fd-table__cell">01/26/17</td>
668
+ </tr>
669
+ </tbody>
670
+ </table>
671
+ ```
672
+
673
+ ### No outer Border
674
+
675
+ Table can be displayed without outer borders, might be needed when used inside some other element. To display a table without outer border, add the \
676
+
677
+ ```html
678
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
679
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table Without Outer Borders</h4>
680
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
681
+ </div>
682
+ <table class="fd-table fd-table--no-outer-border">
683
+ <thead class="fd-table__header">
684
+ <tr class="fd-table__row">
685
+ <th class="fd-table__cell" scope="col">Column Header</th>
686
+ <th class="fd-table__cell" scope="col">Column Header</th>
687
+ <th class="fd-table__cell" scope="col">Column Header</th>
688
+ <th class="fd-table__cell" scope="col">Column Header</th>
689
+ </tr>
690
+ </thead>
691
+ <tbody class="fd-table__body">
692
+ <tr class="fd-table__row">
693
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
694
+ <td class="fd-table__cell">First Name</td>
695
+ <td class="fd-table__cell">Last Name</td>
696
+ <td class="fd-table__cell">01/26/17</td>
697
+ </tr>
698
+ <tr class="fd-table__row">
699
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
700
+ <td class="fd-table__cell">First Name</td>
701
+ <td class="fd-table__cell">Last Name</td>
702
+ <td class="fd-table__cell">01/26/17</td>
703
+ </tr>
704
+ <tr class="fd-table__row">
705
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
706
+ <td class="fd-table__cell">First Name</td>
707
+ <td class="fd-table__cell">Last Name</td>
708
+ <td class="fd-table__cell">01/26/17</td>
709
+ </tr>
710
+ </tbody>
711
+ </table>
712
+ ```
713
+
714
+ ### Footer (condensed)
715
+
716
+ Table can be displayed with a footer. To display a table footer, add the \
717
+
718
+ ```html
719
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
720
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table With Footer Cozy Mode</h4>
721
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
722
+ </div>
723
+ <table class="fd-table">
724
+ <thead class="fd-table__header">
725
+ <tr class="fd-table__row">
726
+ <th class="fd-table__cell" scope="col">Column Header</th>
727
+ <th class="fd-table__cell" scope="col">Column Header</th>
728
+ <th class="fd-table__cell" scope="col">Column Header</th>
729
+ <th class="fd-table__cell" scope="col">Column Header</th>
730
+ </tr>
731
+ </thead>
732
+ <tbody class="fd-table__body">
733
+ <tr class="fd-table__row">
734
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
735
+ <td class="fd-table__cell">First Name</td>
736
+ <td class="fd-table__cell">Last Name</td>
737
+ <td class="fd-table__cell">01/26/17</td>
738
+ </tr>
739
+ <tr class="fd-table__row">
740
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
741
+ <td class="fd-table__cell">First Name</td>
742
+ <td class="fd-table__cell">Last Name</td>
743
+ <td class="fd-table__cell">01/26/17</td>
744
+ </tr>
745
+ <tr class="fd-table__row">
746
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
747
+ <td class="fd-table__cell">First Name</td>
748
+ <td class="fd-table__cell">Last Name</td>
749
+ <td class="fd-table__cell">01/26/17</td>
750
+ </tr>
751
+ </tbody>
752
+ <tfoot class="fd-table__footer">
753
+ <tr class="fd-table__row">
754
+ <td class="fd-table__cell"></td>
755
+ <td class="fd-table__cell">First Name</td>
756
+ <td class="fd-table__cell">Last Name</td>
757
+ <td class="fd-table__cell"></td>
758
+ </tr>
759
+ </tfoot>
760
+ </table>
761
+ ```
762
+
763
+ ### Footer (condensed)
764
+
765
+ Similar to the previous example, table can be displayed with a footer in condensed mode (for desktop screens). To display a condensed table, add the \
766
+
767
+ ```html
768
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
769
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table With Footer Condensed Mode</h4>
770
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
771
+ </div>
772
+ <table class="fd-table fd-table--condensed">
773
+ <thead class="fd-table__header">
774
+ <tr class="fd-table__row">
775
+ <th class="fd-table__cell" scope="col">Column Header</th>
776
+ <th class="fd-table__cell" scope="col">Column Header</th>
777
+ <th class="fd-table__cell" scope="col">Column Header</th>
778
+ <th class="fd-table__cell" scope="col">Column Header</th>
779
+ </tr>
780
+ </thead>
781
+ <tbody class="fd-table__body">
782
+ <tr class="fd-table__row">
783
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
784
+ <td class="fd-table__cell">First Name</td>
785
+ <td class="fd-table__cell">Last Name</td>
786
+ <td class="fd-table__cell">01/26/17</td>
787
+ </tr>
788
+ <tr class="fd-table__row">
789
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
790
+ <td class="fd-table__cell">First Name</td>
791
+ <td class="fd-table__cell">Last Name</td>
792
+ <td class="fd-table__cell">01/26/17</td>
793
+ </tr>
794
+ </tbody>
795
+ <tfoot class="fd-table__footer">
796
+ <tr class="fd-table__row">
797
+ <td class="fd-table__cell"></td>
798
+ <td class="fd-table__cell">First Name</td>
799
+ <td class="fd-table__cell">Last Name</td>
800
+ <td class="fd-table__cell"></td>
801
+ </tr>
802
+ </tfoot>
803
+ </table>
804
+ ```
805
+
806
+ ### Interactive
807
+
808
+ The table component can be interactive with hoverable and activable cells and rows.
809
+
810
+ | Interaction | Modifier class |
811
+ | :------------- | :------------------ |
812
+ | Activate | \
813
+
814
+ ```html
815
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
816
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Interactive Table With Hoverable and Activable Cells and Rows</h4>
817
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
818
+ </div>
819
+ <table class="fd-table">
820
+ <thead class="fd-table__header">
821
+ <tr class="fd-table__row">
822
+ <th class="fd-table__cell fd-table__cell--activable fd-table__cell--hoverable" scope="col">Hovering And</th>
823
+ <th class="fd-table__cell fd-table__cell--activable fd-table__cell--hoverable" scope="col">Clicking</th>
824
+ <th class="fd-table__cell fd-table__cell--activable fd-table__cell--hoverable" scope="col">On Header's Cell</th>
825
+ <th class="fd-table__cell fd-table__cell--activable fd-table__cell--hoverable" scope="col">Will Trigger</th>
826
+ <th class="fd-table__cell fd-table__cell--activable fd-table__cell--hoverable" scope="col">Color Change</th>
827
+ </tr>
828
+ </thead>
829
+ <tbody class="fd-table__body">
830
+ <tr class="fd-table__row fd-table__row--activable fd-table__row--hoverable">
831
+ <td class="fd-table__cell">Clicking on any Cell</td>
832
+ <td class="fd-table__cell"><p class="fd-text">On This Row will cause</p></td>
833
+ <td class="fd-table__cell">
834
+ <span class="fd-object-number fd-object-number--negative">
835
+ <span class="fd-object-number__text">-2,000.00</span><span class="fd-object-number__unit">EUR</span>
836
+ </span>
837
+ </td>
838
+ <td class="fd-table__cell">
839
+ <span class="fd-object-status fd-object-status--negative">
840
+ <i class="fd-object-status__icon sap-icon--message-error" role="presentation"></i>
841
+ <span class="fd-object-status__text">Highlight of Whole Row</span>
842
+ </span>
843
+ </td>
844
+ <td class="fd-table__cell">01/26/17</td>
845
+ </tr>
846
+ <tr class="fd-table__row">
847
+ <td class="fd-table__cell fd-table__cell--activable">Clicking On Cell</td>
848
+ <td class="fd-table__cell fd-table__cell--activable">
849
+ <a class="fd-object-marker fd-object-marker--link">
850
+ <i class="fd-object-marker__icon sap-icon--private" role="presentation"></i>
851
+ <span class="fd-object-marker__text">Will cause</span>
852
+ </a>
853
+ </td>
854
+ <td class="fd-table__cell fd-table__cell--activable">Highlight of cell</td>
855
+ <td class="fd-table__cell fd-table__cell--activable">Last Name</td>
856
+ <td class="fd-table__cell fd-table__cell--activable">01/26/17</td>
857
+ </tr>
858
+ <tr class="fd-table__row">
859
+ <td class="fd-table__cell fd-table__cell--hoverable">Hovering On Any Cell</td>
860
+ <td class="fd-table__cell fd-table__cell--hoverable">Will Change</td>
861
+ <td class="fd-table__cell fd-table__cell--hoverable">Background</td>
862
+ <td class="fd-table__cell fd-table__cell--hoverable">Of Certain</td>
863
+ <td class="fd-table__cell fd-table__cell--hoverable">Cell</td>
864
+ </tr>
865
+ <tr class="fd-table__row fd-table__row--hoverable">
866
+ <td class="fd-table__cell">Hovering On Any Cell</td>
867
+ <td class="fd-table__cell">And cells</td>
868
+ <td class="fd-table__cell">Will Change</td>
869
+ <td class="fd-table__cell">Background of Whole Row</td>
870
+ <td class="fd-table__cell">01/26/17</td>
871
+ </tr>
872
+ </tbody>
873
+ </table>
874
+ ```
875
+
876
+ ### Semantic
877
+
878
+ The table component can display highlight indicators to classify certain items with semantic states. To display status indicators in table, add the \
879
+
880
+ ```html
881
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
882
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table with Semantic Rows</h4>
883
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
884
+ </div>
885
+ <table class="fd-table">
886
+ <thead class="fd-table__header">
887
+ <tr class="fd-table__row">
888
+ <th class="fd-table__cell fd-table__cell--status-indicator"></th>
889
+ <th class="fd-table__cell fd-table__cell--checkbox" scope="col">
890
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Ai9ez611">
891
+ <label class="fd-checkbox__label" for="Ai9ez611"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
892
+ </th>
893
+ <th class="fd-table__cell" scope="col">Column Header</th>
894
+ <th class="fd-table__cell" scope="col">Column Header</th>
895
+ <th class="fd-table__cell" scope="col">Column Header</th>
896
+ <th class="fd-table__cell" scope="col">Column Header</th>
897
+ </tr>
898
+ </thead>
899
+ <tbody class="fd-table__body">
900
+ <tr class="fd-table__row">
901
+ <td class="fd-table__cell fd-table__cell--status-indicator"></td>
902
+ <td class="fd-table__cell fd-table__cell--checkbox">
903
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Ai9ek611">
904
+ <label class="fd-checkbox__label" for="Ai9ek611"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
905
+ </td>
906
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
907
+ <td class="fd-table__cell"><p class="fd-text">First Name</p></td>
908
+ <td class="fd-table__cell"><p class="fd-text">Last Name</p></td>
909
+ <td class="fd-table__cell">01/26/17</td>
910
+ </tr>
911
+ <tr class="fd-table__row">
912
+ <td class="fd-table__cell fd-table__cell--status-indicator fd-table__cell--status-indicator--valid"></td>
913
+ <td class="fd-table__cell fd-table__cell--checkbox">
914
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Ai9ek673">
915
+ <label class="fd-checkbox__label" for="Ai9ek673"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
916
+ </td>
917
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
918
+ <td class="fd-table__cell">First Name</td>
919
+ <td class="fd-table__cell">Last Name</td>
920
+ <td class="fd-table__cell fd-table__cell--valid">01/26/17</td>
921
+ </tr>
922
+ <tr class="fd-table__row">
923
+ <td class="fd-table__cell fd-table__cell--status-indicator"></td>
924
+ <td class="fd-table__cell fd-table__cell--checkbox">
925
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Ai9ek69s">
926
+ <label class="fd-checkbox__label" for="Ai9ek69s"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
927
+ </td>
928
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
929
+ <td class="fd-table__cell">First Name</td>
930
+ <td class="fd-table__cell">Last Name</td>
931
+ <td class="fd-table__cell">01/26/17</td>
932
+ </tr>
933
+ <tr class="fd-table__row">
934
+ <td class="fd-table__cell fd-table__cell--status-indicator fd-table__cell--status-indicator--warning"></td>
935
+ <td class="fd-table__cell fd-table__cell--checkbox">
936
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Ai9ekk69s">
937
+ <label class="fd-checkbox__label" for="Ai9ekk69s"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
938
+ </td>
939
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
940
+ <td class="fd-table__cell">First Name</td>
941
+ <td class="fd-table__cell">Last Name</td>
942
+ <td class="fd-table__cell fd-table__cell--warning">01/26/17</td>
943
+ </tr>
944
+ <tr class="fd-table__row">
945
+ <td class="fd-table__cell fd-table__cell--status-indicator"></td>
946
+ <td class="fd-table__cell fd-table__cell--checkbox">
947
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Ai73k69s">
948
+ <label class="fd-checkbox__label" for="Ai73k69s"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
949
+ </td>
950
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
951
+ <td class="fd-table__cell">First Name</td>
952
+ <td class="fd-table__cell">Last Name</td>
953
+ <td class="fd-table__cell">01/26/17</td>
954
+ </tr>
955
+ <tr class="fd-table__row">
956
+ <td class="fd-table__cell fd-table__cell--status-indicator fd-table__cell--status-indicator--error"></td>
957
+ <td class="fd-table__cell fd-table__cell--checkbox">
958
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Ai734F6s">
959
+ <label class="fd-checkbox__label" for="Ai734F6s"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
960
+ </td>
961
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
962
+ <td class="fd-table__cell">First Name</td>
963
+ <td class="fd-table__cell">Last Name</td>
964
+ <td class="fd-table__cell fd-table__cell--error">01/26/17</td>
965
+ </tr>
966
+ <tr class="fd-table__row">
967
+ <td class="fd-table__cell fd-table__cell--status-indicator"></td>
968
+ <td class="fd-table__cell fd-table__cell--checkbox">
969
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Ai73HE36s">
970
+ <label class="fd-checkbox__label" for="Ai73HE36s"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
971
+ </td>
972
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
973
+ <td class="fd-table__cell">First Name</td>
974
+ <td class="fd-table__cell">Last Name</td>
975
+ <td class="fd-table__cell">01/26/17</td>
976
+ </tr>
977
+ <tr class="fd-table__row">
978
+ <td class="fd-table__cell fd-table__cell--status-indicator fd-table__cell--status-indicator--information"></td>
979
+ <td class="fd-table__cell fd-table__cell--checkbox">
980
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Ai7JDE36s">
981
+ <label class="fd-checkbox__label" for="Ai7JDE36s"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
982
+ </td>
983
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
984
+ <td class="fd-table__cell">First Name</td>
985
+ <td class="fd-table__cell">Last Name</td>
986
+ <td class="fd-table__cell fd-table__cell--information">01/26/17</td>
987
+ </tr>
988
+ <tr class="fd-table__row">
989
+ <td class="fd-table__cell fd-table__cell--status-indicator"></td>
990
+ <td class="fd-table__cell fd-table__cell--checkbox">
991
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Ai7JGD6s">
992
+ <label class="fd-checkbox__label" for="Ai7JGD6s"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
993
+ </td>
994
+ <td class="fd-table__cell"><a class="fd-link"><span class="fd-link__content">user.name@email.com</span></a></td>
995
+ <td class="fd-table__cell">First Name</td>
996
+ <td class="fd-table__cell">Last Name</td>
997
+ <td class="fd-table__cell">01/26/17</td>
998
+ </tr>
999
+ </tbody>
1000
+ </table>
1001
+ ```
1002
+
1003
+ ### Focusable rows
1004
+
1005
+ Table can display focusable rows by adding the \
1006
+
1007
+ ```html
1008
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1009
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table With Focusable Rows</h4>
1010
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
1011
+ </div>
1012
+ <table class="fd-table" role="grid">
1013
+ <thead class="fd-table__header">
1014
+ <tr class="fd-table__row fd-table__row--focusable" tabindex="-1">
1015
+ <th class="fd-table__cell" scope="col">Column Header</th>
1016
+ <th class="fd-table__cell" scope="col">Column Header</th>
1017
+ <th class="fd-table__cell" scope="col">Column Header</th>
1018
+ <th class="fd-table__cell" scope="col">Column Header</th>
1019
+ <th class="fd-table__cell" scope="col">Column Header</th>
1020
+ </tr>
1021
+ </thead>
1022
+ <tbody class="fd-table__body">
1023
+ <tr class="fd-table__row fd-table__row--focusable" tabindex="-1">
1024
+ <td class="fd-table__cell" role="gridcell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1025
+ <td class="fd-table__cell" role="gridcell">First Name</td>
1026
+ <td class="fd-table__cell" role="gridcell">Middle Name</td>
1027
+ <td class="fd-table__cell" role="gridcell">Last Name</td>
1028
+ <td class="fd-table__cell" role="gridcell">01/26/17</td>
1029
+ </tr>
1030
+ <tr class="fd-table__row fd-table__row--focusable" tabindex="-1">
1031
+ <td class="fd-table__cell" role="gridcell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1032
+ <td class="fd-table__cell" role="gridcell">First Name</td>
1033
+ <td class="fd-table__cell" role="gridcell">Middle Name</td>
1034
+ <td class="fd-table__cell" role="gridcell">Last Name</td>
1035
+ <td class="fd-table__cell" role="gridcell">01/26/17</td>
1036
+ </tr>
1037
+ </tbody>
1038
+ </table>
1039
+ ```
1040
+
1041
+ ### Focusable cells
1042
+
1043
+ Table can display focusable cells by adding the \
1044
+
1045
+ ```html
1046
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1047
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table With Focusable Cells</h4>
1048
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
1049
+ </div>
1050
+ <table class="fd-table" role="grid">
1051
+ <thead class="fd-table__header">
1052
+ <tr class="fd-table__row">
1053
+ <th class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1" scope="col">Column Header</th>
1054
+ <th class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1" scope="col">Column Header</th>
1055
+ <th class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1" scope="col">Column Header</th>
1056
+ <th class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1" scope="col">Column Header</th>
1057
+ <th class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1" scope="col">Column Header</th>
1058
+ </tr>
1059
+ </thead>
1060
+ <tbody class="fd-table__body">
1061
+ <tr class="fd-table__row">
1062
+ <td class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1"><a class="fd-link"><span>user.name@email.com</span></a></td>
1063
+ <td class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1">First Name</td>
1064
+ <td class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1">Middle Name</td>
1065
+ <td class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1">Last Name</td>
1066
+ <td class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1">01/26/17</td>
1067
+ </tr>
1068
+ <tr class="fd-table__row">
1069
+ <td class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1"><a class="fd-link"><span>user.name@email.com</span></a></td>
1070
+ <td class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1">First Name</td>
1071
+ <td class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1">Middle Name</td>
1072
+ <td class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1">Last Name</td>
1073
+ <td class="fd-table__cell fd-table__cell--focusable" role="gridcell" tabindex="-1">01/26/17</td>
1074
+ </tr>
1075
+ </tbody>
1076
+ </table>
1077
+ ```
1078
+
1079
+ ### Checkbox (condensed)
1080
+
1081
+ Table can display checkboxes to allow the user to perform bulk actions.
1082
+ To display checkboxes in table, add the \
1083
+
1084
+ ```html
1085
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1086
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table With Checkbox</h4>
1087
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
1088
+ </div>
1089
+ <table class="fd-table">
1090
+ <thead class="fd-table__header">
1091
+ <tr class="fd-table__row">
1092
+ <th class="fd-table__cell fd-table__cell--checkbox" scope="col">
1093
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox fd-table__checkbox" id="Ai4ez611">
1094
+ <label class="fd-checkbox__label fd-table__checkbox-label" for="Ai4ez611">
1095
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
1096
+ </label>
1097
+ </th>
1098
+ <th class="fd-table__cell" scope="col">Column Header</th>
1099
+ <th class="fd-table__cell" scope="col">Column Header</th>
1100
+ <th class="fd-table__cell" scope="col">Column Header</th>
1101
+ <th class="fd-table__cell" scope="col">Column Header</th>
1102
+ </tr>
1103
+ </thead>
1104
+ <tbody class="fd-table__body">
1105
+ <tr class="fd-table__row" aria-selected="true">
1106
+ <td class="fd-table__cell fd-table__cell--checkbox">
1107
+ <input aria-label="checkbox" type="checkbox" checked class="fd-checkbox fd-table__checkbox" id="Ai4ez615">
1108
+ <label class="fd-checkbox__label fd-table__checkbox-label" for="Ai4ez615">
1109
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
1110
+ </label>
1111
+ </td>
1112
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1113
+ <td class="fd-table__cell"><span class="fd-table__text">First Name</span></td>
1114
+ <td class="fd-table__cell"><span class="fd-table__text">Last Name</span></td>
1115
+ <td class="fd-table__cell"><span class="fd-table__text">01/26/17</span></td>
1116
+ </tr>
1117
+ <tr class="fd-table__row">
1118
+ <td class="fd-table__cell fd-table__cell--checkbox">
1119
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox fd-table__checkbox" id="Ai4ez617">
1120
+ <label class="fd-checkbox__label fd-table__checkbox-label" for="Ai4ez617">
1121
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
1122
+ </label>
1123
+ </td>
1124
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1125
+ <td class="fd-table__cell">First Name</td>
1126
+ <td class="fd-table__cell">Last Name</td>
1127
+ <td class="fd-table__cell">01/26/17</td>
1128
+ </tr>
1129
+ <tr class="fd-table__row">
1130
+ <td class="fd-table__cell fd-table__cell--checkbox">
1131
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox fd-table__checkbox" id="Gi4ez611">
1132
+ <label class="fd-checkbox__label fd-table__checkbox-label" for="Gi4ez611">
1133
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
1134
+ </label>
1135
+ </td>
1136
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1137
+ <td class="fd-table__cell">First Name</td>
1138
+ <td class="fd-table__cell">Last Name</td>
1139
+ <td class="fd-table__cell">01/26/17</td>
1140
+ </tr>
1141
+ </tbody>
1142
+ </table>
1143
+ ```
1144
+
1145
+ ### Checkbox (condensed)
1146
+
1147
+ Table can be displayed with checkboxes in condensed mode. To display checkboxes in table, add the \
1148
+
1149
+ ```html
1150
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1151
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table With Checkbox Condensed Mode</h4>
1152
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
1153
+ </div>
1154
+ <table class="fd-table fd-table--condensed">
1155
+ <thead class="fd-table__header">
1156
+ <tr class="fd-table__row">
1157
+ <th class="fd-table__cell fd-table__cell--checkbox" scope="col">
1158
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox fd-table__checkbox" id="Ai4JH2BF87">
1159
+ <label class="fd-checkbox__label fd-table__checkbox-label" for="Ai4JH2BF87">
1160
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
1161
+ </label>
1162
+ </th>
1163
+ <th class="fd-table__cell" scope="col">Column Header</th>
1164
+ <th class="fd-table__cell" scope="col">Column Header</th>
1165
+ <th class="fd-table__cell" scope="col">Column Header</th>
1166
+ <th class="fd-table__cell" scope="col">Column Header</th>
1167
+ </tr>
1168
+ </thead>
1169
+ <tbody class="fd-table__body">
1170
+ <tr class="fd-table__row" aria-selected="true">
1171
+ <td class="fd-table__cell fd-table__cell--checkbox">
1172
+ <input aria-label="checkbox" type="checkbox" checked class="fd-checkbox fd-table__checkbox" id="Ai4JHf87">
1173
+ <label class="fd-checkbox__label fd-table__checkbox-label" for="Ai4JHf87">
1174
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
1175
+ </label>
1176
+ </td>
1177
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1178
+ <td class="fd-table__cell"><span class="fd-table__text">First Name</span></td>
1179
+ <td class="fd-table__cell"><span class="fd-table__text">Last Name</span></td>
1180
+ <td class="fd-table__cell"><span class="fd-table__text">01/26/17</span></td>
1181
+ </tr>
1182
+ <tr class="fd-table__row">
1183
+ <td class="fd-table__cell fd-table__cell--checkbox">
1184
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox fd-table__checkbox" id="Ai4Jj67">
1185
+ <label class="fd-checkbox__label fd-table__checkbox-label" for="Ai4Jj67">
1186
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
1187
+ </label>
1188
+ </td>
1189
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1190
+ <td class="fd-table__cell">First Name</td>
1191
+ <td class="fd-table__cell">Last Name</td>
1192
+ <td class="fd-table__cell">01/26/17</td>
1193
+ </tr>
1194
+ <tr class="fd-table__row">
1195
+ <td class="fd-table__cell fd-table__cell--checkbox">
1196
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox fd-table__checkbox" id="AGjtJj67">
1197
+ <label class="fd-checkbox__label fd-table__checkbox-label" for="AGjtJj67">
1198
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
1199
+ </label>
1200
+ </td>
1201
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1202
+ <td class="fd-table__cell">First Name</td>
1203
+ <td class="fd-table__cell">Last Name</td>
1204
+ <td class="fd-table__cell">01/26/17</td>
1205
+ </tr>
1206
+ </tbody>
1207
+ </table>
1208
+ ```
1209
+
1210
+ ### Pagination
1211
+
1212
+ Table can be displayed with bottom pagination by adding the \
1213
+
1214
+ ```html
1215
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1216
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table With Pagination at The Bottom</h4>
1217
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
1218
+ </div>
1219
+ <table class="fd-table">
1220
+ <thead class="fd-table__header">
1221
+ <tr class="fd-table__row">
1222
+ <th class="fd-table__cell" scope="col">Name</th>
1223
+ <th class="fd-table__cell" scope="col">Status</th>
1224
+ <th class="fd-table__cell" scope="col">Price</th>
1225
+ <th class="fd-table__cell" scope="col">Country</th>
1226
+ </tr>
1227
+ </thead>
1228
+ <tbody class="fd-table__body">
1229
+ <tr class="fd-table__row">
1230
+ <td class="fd-table__cell">Banana</td>
1231
+ <td class="fd-table__cell">
1232
+ <span class="fd-object-status fd-object-status--positive">
1233
+ Available
1234
+ </span>
1235
+ </td>
1236
+ <td class="fd-table__cell">5 EUR</td>
1237
+ <td class="fd-table__cell">India</td>
1238
+ </tr>
1239
+ <tr class="fd-table__row">
1240
+ <td class="fd-table__cell">Pineapple</td>
1241
+ <td class="fd-table__cell">
1242
+ <span class="fd-object-status fd-object-status--negative">
1243
+ Out of stock
1244
+ </span>
1245
+ </td>
1246
+ <td class="fd-table__cell">2 EUR</td>
1247
+ <td class="fd-table__cell">Mexico</td>
1248
+ </tr>
1249
+ <tr class="fd-table__row">
1250
+ <td class="fd-table__cell">Orange</td>
1251
+ <td class="fd-table__cell">
1252
+ <span class="fd-object-status fd-object-status--informative">
1253
+ Temporary unavailable
1254
+ </span>
1255
+ </td>
1256
+ <td class="fd-table__cell">6 EUR</td>
1257
+ <td class="fd-table__cell">Spain</td>
1258
+ </tr>
1259
+ </tbody>
1260
+ </table>
1261
+
1262
+ <div class='fd-pagination'>
1263
+ <nav class='fd-pagination__nav'>
1264
+ <a href='#' class='fd-button fd-button--transparent fd-pagination__button fd-pagination__button--mobile' aria-label='First' aria-disabled='false'>
1265
+ <i class='sap-icon sap-icon--media-rewind'></i>
1266
+ </a>
1267
+
1268
+ <a href='#' class='fd-button fd-button--transparent fd-pagination__button' aria-label='Previous' aria-disabled='false'>
1269
+ <i class='sap-icon sap-icon--navigation-left-arrow'></i>
1270
+ </a>
1271
+
1272
+ <a href='#' class='fd-button fd-button--transparent fd-pagination__link'>1</a>
1273
+
1274
+ <label class='fd-form-label fd-pagination__label' for='secondPageInput'>Page:</label>
1275
+
1276
+ <input id='secondPageInput' class='fd-input fd-pagination__input' type='number' min='1' max='10' value='2' required />
1277
+
1278
+ <a href='#' class='fd-button fd-button--transparent fd-pagination__link'>3</a>
1279
+
1280
+ <span class='fd-pagination__more' role='presentation'></span>
1281
+
1282
+ <a href='#' class='fd-button fd-button--transparent fd-pagination__link'>10</a>
1283
+
1284
+ <a href='#' class='fd-button fd-button--transparent fd-pagination__button' aria-label='Next' aria-disabled='false'>
1285
+ <i class='sap-icon sap-icon--navigation-right-arrow'></i>
1286
+ </a>
1287
+
1288
+ <a href='#' class='fd-button fd-button--transparent fd-pagination__button fd-pagination__button--mobile' aria-label='Last' aria-disabled='false'>
1289
+ <i class='sap-icon sap-icon--media-forward'></i>
1290
+ </a>
1291
+ </nav>
1292
+
1293
+ <div class='fd-pagination__total'>
1294
+ <span class='fd-form-label fd-pagination__total-label'>30 Results</span>
1295
+ </div>
1296
+ </div>
1297
+ ```
1298
+
1299
+ ### Advanced toolbar
1300
+
1301
+ The table component can be displayed with an advanced **Toolbar**, which allows users to customize their table. In this example, buttons trigger **Dialogs**. To display an advanced toolbar, pair \
1302
+
1303
+ ```html
1304
+ <div class="fd-dialog" id="filter-dialog-example">
1305
+ <section class="fd-dialog__content" role="dialog" aria-modal="true" aria-labelledby="dialog-filter">
1306
+ <header class="fd-dialog__header fd-bar">
1307
+ <div class="fd-bar__left">
1308
+ <div class="fd-bar__element">
1309
+ <h3 class="fd-dialog__title" id="dialog-filter">
1310
+ Filter By
1311
+ </h3>
1312
+ </div>
1313
+ </div>
1314
+ <div class="fd-bar__right">
1315
+ <div class="fd-bar__element">
1316
+ <span class="sap-icon--filter"></span>
1317
+ </div>
1318
+ </div>
1319
+ </header>
1320
+ <div class="fd-dialog__body fd-dialog__body--no-vertical-padding">
1321
+ <ul class="fd-list">
1322
+ <li class="fd-list__item">
1323
+ <span class="fd-list__title">Name</span>
1324
+ </li>
1325
+ <li class="fd-list__item">
1326
+ <span class="fd-list__title">Status</span>
1327
+ </li>
1328
+ <li class="fd-list__item">
1329
+ <span class="fd-list__title">Price</span>
1330
+ </li>
1331
+ <li class="fd-list__item">
1332
+ <span class="fd-list__title">Country</span>
1333
+ </li>
1334
+ </ul>
1335
+ </div>
1336
+ <footer class="fd-dialog__footer fd-bar fd-bar--footer">
1337
+ <div class="fd-bar__right">
1338
+ <div class="fd-bar__element">
1339
+ <button aria-label="navigation" class="fd-dialog__decisive-button fd-button fd-button--emphasized" onclick="toggleClass('filter-dialog-example', 'fd-dialog--active')">OK</button>
1340
+ </div>
1341
+ <div class="fd-bar__element">
1342
+ <button aria-label="navigation" class="fd-dialog__decisive-button fd-button fd-button--transparent" onclick="toggleClass('filter-dialog-example', 'fd-dialog--active')">Cancel</button>
1343
+ </div>
1344
+ </div>
1345
+ </footer>
1346
+ </section>
1347
+ </div>
1348
+ <div class="fd-dialog" id="settings-dialog-example">
1349
+ <section class="fd-dialog__content" role="dialog" aria-modal="true" aria-labelledby="dialog-settings">
1350
+ <header class="fd-dialog__header fd-bar fd-bar--header-with-subheader">
1351
+ <div class="fd-bar__left">
1352
+ <div class="fd-bar__element">
1353
+ <h3 class="fd-dialog__title" id="dialog-settings">
1354
+ Columns
1355
+ </h3>
1356
+ </div>
1357
+ </div>
1358
+ </header>
1359
+ <div class="fd-dialog__subheader fd-bar fd-bar--subheader">
1360
+ <div class="fd-bar__middle">
1361
+ <div class="fd-bar__element">
1362
+ <button aria-label="navigation" class="fd-button fd-button--icon fd-button--transparent">
1363
+ <i class="sap-icon--arrow-top"></i>
1364
+ </button>
1365
+ <button aria-label="navigation" class="fd-button fd-button--icon fd-button--transparent">
1366
+ <i class="sap-icon--arrow-bottom"></i>
1367
+ </button>
1368
+ </div>
1369
+ <div class="fd-bar__element fd-bar__element--full-width">
1370
+ <div class="fd-input-group">
1371
+ <input aria-labelledby="dialog-settings"
1372
+ class="fd-input fd-input-group__input" type="text" placeholder="Search...">
1373
+ <span class="fd-input-group__addon fd-input-group__addon--button">
1374
+ <button aria-label="navigation"
1375
+ class="fd-button fd-input-group__button fd-button--icon fd-button--transparent">
1376
+ <i class="sap-icon--search"></i>
1377
+ </button>
1378
+ </span>
1379
+ </div>
1380
+ </div>
1381
+ </div>
1382
+ </div>
1383
+ <div class="fd-dialog__body fd-dialog__body--no-vertical-padding">
1384
+ <ul aria-labelledby="dialog-settings" class="fd-list fd-list--multi-input"
1385
+ aria-multiselectable="true" role="listbox">
1386
+ <li class="fd-list__item is-selected" role="option">
1387
+ <input aria-label="checkbox" type="checkbox" checked
1388
+ class="fd-checkbox fd-list__input" id="GGi4ezFD1">
1389
+ <label class="fd-checkbox__label fd-list__label" for="GGi4ezFD1">
1390
+ <div class="fd-checkbox__label-container"><span class="fd-checkbox__text">All</span></div>
1391
+ </label>
1392
+ </li>
1393
+ <li class="fd-list__item is-selected" role="option">
1394
+ <input aria-label="checkbox" type="checkbox" checked class="fd-checkbox fd-list__input" id="GGi4ez641">
1395
+ <label class="fd-checkbox__label fd-list__label" for="GGi4ez641">
1396
+ <div class="fd-checkbox__label-container"><span class="fd-checkbox__text">Name</span></div>
1397
+ </label>
1398
+ </li>
1399
+ <li class="fd-list__item is-selected" role="option">
1400
+ <input aria-label="checkbox" type="checkbox" checked class="fd-checkbox fd-list__input" id="Ai4FGFG612">
1401
+ <label class="fd-checkbox__label fd-list__label" for="Ai4FGFG612">
1402
+ <div class="fd-checkbox__label-container"><span class="fd-checkbox__text">Status</span></div>
1403
+ </label>
1404
+ </li>
1405
+ <li class="fd-list__item is-selected" role="option">
1406
+ <input aria-label="checkbox" type="checkbox" checked class="fd-checkbox fd-list__input" id="Ai4e88614">
1407
+ <label class="fd-checkbox__label fd-list__label" for="Ai4e88614">
1408
+ <div class="fd-checkbox__label-container"><span class="fd-checkbox__text">Price</span></div>
1409
+ </label>
1410
+ </li>
1411
+ <li class="fd-list__item is-selected" role="option">
1412
+ <input aria-label="checkbox" type="checkbox" checked class="fd-checkbox fd-list__input" id="Ai4egh6024">
1413
+ <label class="fd-checkbox__label fd-list__label" for="Ai4egh6024">
1414
+ <div class="fd-checkbox__label-container"><span class="fd-checkbox__text">Country</span></div>
1415
+ </label>
1416
+ </li>
1417
+ </ul>
1418
+ </div>
1419
+ <footer class="fd-dialog__footer fd-bar fd-bar--footer">
1420
+ <div class="fd-bar__right">
1421
+ <div class="fd-bar__element">
1422
+ <button aria-label="navigation" class="fd-dialog__decisive-button fd-button fd-button--emphasized" onclick="toggleClass('settings-dialog-example', 'fd-dialog--active')">OK</button>
1423
+ </div>
1424
+ <div class="fd-bar__element">
1425
+ <button aria-label="navigation" class="fd-dialog__decisive-button fd-button fd-button--transparent" onclick="toggleClass('settings-dialog-example', 'fd-dialog--active')">Cancel</button>
1426
+ </div>
1427
+ </div>
1428
+ </footer>
1429
+ </section>
1430
+ </div>
1431
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1432
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table With Advanced Shellbar</h4>
1433
+
1434
+ <button aria-label="navigation" class="fd-button fd-button--transparent" onclick="toggleClass('filter-dialog-example', 'fd-dialog--active')">
1435
+ <i class="sap-icon--filter"></i>
1436
+ </button>
1437
+ <button aria-label="navigation" class="fd-button fd-button--transparent" onclick="toggleClass('settings-dialog-example', 'fd-dialog--active')">
1438
+ <i class="sap-icon--action-settings"></i>
1439
+ </button>
1440
+ </div>
1441
+ <table class="fd-table">
1442
+ <thead class="fd-table__header">
1443
+ <tr class="fd-table__row">
1444
+ <th class="fd-table__cell" scope="col">Name</th>
1445
+ <th class="fd-table__cell" scope="col">Status</th>
1446
+ <th class="fd-table__cell" scope="col">Price</th>
1447
+ <th class="fd-table__cell" scope="col">Country</th>
1448
+ </tr>
1449
+ </thead>
1450
+ <tbody class="fd-table__body">
1451
+ <tr class="fd-table__row">
1452
+ <td class="fd-table__cell">Banana</td>
1453
+ <td class="fd-table__cell">
1454
+ <span class="fd-object-status fd-object-status--positive">
1455
+ Available
1456
+ </span>
1457
+ </td>
1458
+ <td class="fd-table__cell">5 EUR</td>
1459
+ <td class="fd-table__cell">India</td>
1460
+ </tr>
1461
+ <tr class="fd-table__row">
1462
+ <td class="fd-table__cell">Pineapple</td>
1463
+ <td class="fd-table__cell">
1464
+ <span class="fd-object-status fd-object-status--negative">
1465
+ Out of stock
1466
+ </span>
1467
+ </td>
1468
+ <td class="fd-table__cell">2 EUR</td>
1469
+ <td class="fd-table__cell">Mexico</td>
1470
+ </tr>
1471
+ <tr class="fd-table__row">
1472
+ <td class="fd-table__cell">Orange</td>
1473
+ <td class="fd-table__cell">
1474
+ <span class="fd-object-status fd-object-status--informative">
1475
+ Temporary unavailable
1476
+ </span>
1477
+ </td>
1478
+ <td class="fd-table__cell">6 EUR</td>
1479
+ <td class="fd-table__cell">Spain</td>
1480
+ </tr>
1481
+ </tbody>
1482
+ </table>
1483
+ ```
1484
+
1485
+ ### Contextual menu
1486
+
1487
+ Table can display a contextual menu containing actions if there is not enough space in a given row. It is recommended to use a contextual menu if there are more than three actions. To display table with a contextual menu, add the \
1488
+
1489
+ ```html
1490
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1491
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table with Contextual Menu</h4>
1492
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
1493
+ <table class="fd-table" >
1494
+ <thead class="fd-table__header">
1495
+ <tr class="fd-table__row">
1496
+ <th class="fd-table__cell" scope="col">Column Header</th>
1497
+ <th class="fd-table__cell" scope="col">Column Header</th>
1498
+ <th class="fd-table__cell" scope="col">Column Header</th>
1499
+ <th class="fd-table__cell" scope="col">
1500
+ <span class="fd-table__sr-only">Row Actions</span>
1501
+ </th>
1502
+ </tr>
1503
+ </thead>
1504
+ <tbody class="fd-table__body">
1505
+ <tr class="fd-table__row">
1506
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1507
+ <td class="fd-table__cell">First Name</td>
1508
+ <td class="fd-table__cell">01/26/17</td>
1509
+ <td class="fd-table__cell fd-table__cell--fit-content">
1510
+ <div class="fd-popover">
1511
+ <div class="fd-popover__control">
1512
+ <button aria-label="navigation" class="fd-button fd-button--transparent" aria-controls="pQqQRFF3" aria-haspopup="true" aria-expanded="false" aria-label="More"
1513
+ onclick="onPopoverClick('pQqQRFF3')">
1514
+ <i class="sap-icon--overflow"></i>
1515
+ </button>
1516
+ </div>
1517
+ <div class="fd-popover__body fd-popover__body--right" aria-hidden="true" id="pQqQRFF3">
1518
+ <nav class="fd-menu">
1519
+ <ul class="fd-menu__list fd-menu__list--no-shadow">
1520
+ <li class="fd-menu__item">
1521
+ <a href="#" class="fd-menu__link">
1522
+ <span class="fd-menu__title">Option 1</span>
1523
+ </a>
1524
+ </li>
1525
+ <li class="fd-menu__item">
1526
+ <a href="#" class="fd-menu__link">
1527
+ <span class="fd-menu__title">Option 2</span>
1528
+ </a>
1529
+ </li>
1530
+ <li class="fd-menu__item">
1531
+ <a href="#" class="fd-menu__link">
1532
+ <span class="fd-menu__title">Option 3</span>
1533
+ </a>
1534
+ </li>
1535
+ </ul>
1536
+ </nav>
1537
+ </div>
1538
+ </div>
1539
+ </td>
1540
+ </tr>
1541
+ <tr class="fd-table__row">
1542
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1543
+ <td class="fd-table__cell">First Name</td>
1544
+ <td class="fd-table__cell">01/26/17</td>
1545
+ <td class="fd-table__cell fd-table__cell--fit-content">
1546
+ <div class="fd-popover">
1547
+ <div class="fd-popover__control">
1548
+ <button aria-label="navigation" class="fd-button fd-button--transparent" aria-controls="G54qQRFF3" aria-haspopup="true" aria-expanded="false" aria-label="More" onclick="onPopoverClick('G54qQRFF3')">
1549
+ <i class="sap-icon--overflow"></i>
1550
+ </button>
1551
+ </div>
1552
+ <div class="fd-popover__body fd-popover__body--right" aria-hidden="true" id="G54qQRFF3">
1553
+ <nav class="fd-menu">
1554
+ <ul class="fd-menu__list fd-menu__list--no-shadow">
1555
+ <li class="fd-menu__item">
1556
+ <a href="#" class="fd-menu__link">
1557
+ <span class="fd-menu__title">Option 1</span>
1558
+ </a>
1559
+ </li>
1560
+ <li class="fd-menu__item">
1561
+ <a href="#" class="fd-menu__link">
1562
+ <span class="fd-menu__title">Option 2</span>
1563
+ </a>
1564
+ </li>
1565
+ <li class="fd-menu__item">
1566
+ <a href="#" class="fd-menu__link">
1567
+ <span class="fd-menu__title">Option 3</span>
1568
+ </a>
1569
+ </li>
1570
+ </ul>
1571
+ </nav>
1572
+ </div>
1573
+ </div>
1574
+ </td>
1575
+ </tr>
1576
+ </tbody>
1577
+ </table>
1578
+ </div>
1579
+ ```
1580
+
1581
+ ### Menu header
1582
+
1583
+ Table can display menu options from a popover within headers. The example below demonstrates headers containing customization actions such as _Ascending_ and _Descending_. To display a menu within a header, add the \
1584
+
1585
+ ```html
1586
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1587
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table with Popover in Headers</h4>
1588
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
1589
+ </div>
1590
+ <table class="fd-table" >
1591
+ <thead class="fd-table__header">
1592
+ <tr class="fd-table__row">
1593
+ <th class="fd-table__cell" scope="col">
1594
+ <div class="fd-table__popover fd-popover">
1595
+ <div class="fd-popover__control" aria-controls="popoverA1" aria-expanded="false" aria-haspopup="true">
1596
+ <div class="fd-table__inner">
1597
+ Column Header Ascending
1598
+ <span class="fd-table__icon sap-icon--sort-ascending"></span>
1599
+ </div>
1600
+ </div>
1601
+ <div class="fd-popover__body fd-popover__body--no-arrow" aria-hidden="true" id="popoverA1">
1602
+ <ul class="fd-list" role="list">
1603
+ <li tabindex="0" role="listitem" class="fd-list__item">
1604
+ <span class="fd-list__icon sap-icon--sort-descending"></span>
1605
+ <span class="fd-list__title">Sort Descending</span>
1606
+ </li>
1607
+ <li tabindex="0" role="listitem" class="fd-list__item">
1608
+ <span class="fd-list__icon sap-icon--sort-ascending"></span>
1609
+ <span class="fd-list__title">Sort Ascendnig</span>
1610
+ </li>
1611
+ <li role="listitem" class="fd-list__item">
1612
+ <span class="fd-list__icon sap-icon--filter"></span>
1613
+ <div class="fd-form-item fd-form-item--horizontal">
1614
+ <label class="fd-form-label" for="input-1d">Filter</label>
1615
+ <input class="fd-input" id="input-1d">
1616
+ </div>
1617
+ </li>
1618
+ </ul>
1619
+ </div>
1620
+ </div>
1621
+ </th>
1622
+ <th class="fd-table__cell" scope="col">
1623
+ <div class="fd-table__popover fd-popover">
1624
+ <div class="fd-popover__control" aria-controls="popoverA2" aria-expanded="false" aria-haspopup="true">
1625
+ <div class="fd-table__inner">
1626
+ Column Header Descending
1627
+ <span class="fd-table__icon sap-icon--sort-descending"></span>
1628
+ </div>
1629
+ </div>
1630
+ <div class="fd-popover__body fd-popover__body--no-arrow" aria-hidden="true" id="popoverA2">
1631
+ <ul class="fd-list" role="list">
1632
+ <li tabindex="0" role="listitem" class="fd-list__item">
1633
+ <span class="fd-list__icon sap-icon--sort-descending"></span>
1634
+ <span class="fd-list__title">Sort Descending</span>
1635
+ </li>
1636
+ <li tabindex="0" role="listitem" class="fd-list__item">
1637
+ <span class="fd-list__icon sap-icon--sort-ascending"></span>
1638
+ <span class="fd-list__title">Sort Ascendnig</span>
1639
+ </li>
1640
+ <li role="listitem" class="fd-list__item">
1641
+ <span class="fd-list__icon sap-icon--filter"></span>
1642
+ <div class="fd-form-item fd-form-item--horizontal">
1643
+ <label class="fd-form-label" for="input-1d">Filter</label>
1644
+ <input class="fd-input" id="input-1d2">
1645
+ </div>
1646
+ </li>
1647
+ </ul>
1648
+ </div>
1649
+ </div>
1650
+ </th>
1651
+ <th class="fd-table__cell" scope="col">Column Header</th>
1652
+ </tr>
1653
+ </thead>
1654
+ <tbody class="fd-table__body">
1655
+ <tr class="fd-table__row">
1656
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1657
+ <td class="fd-table__cell">First Name</td>
1658
+ <td class="fd-table__cell">01/26/17</td>
1659
+ </tr>
1660
+ <tr class="fd-table__row">
1661
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1662
+ <td class="fd-table__cell">First Name</td>
1663
+ <td class="fd-table__cell">01/26/17</td>
1664
+ </tr>
1665
+ <tr class="fd-table__row">
1666
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1667
+ <td class="fd-table__cell">First Name</td>
1668
+ <td class="fd-table__cell">01/26/17</td>
1669
+ </tr>
1670
+ </tbody>
1671
+ </table>
1672
+ ```
1673
+
1674
+ ### Fixed header, footer and columns
1675
+
1676
+ Table can display fixed header, footer and columns (both, on the left and right).
1677
+
1678
+ At first, wrap the table in a element with the \
1679
+
1680
+ ```html
1681
+ <style>
1682
+ .fd-table--fixed {
1683
+ height: 300px;
1684
+ }
1685
+
1686
+ .fd-table--fixed .fd-table__cell {
1687
+ min-width: 200px;
1688
+ max-width: 200px;
1689
+ }
1690
+ </style>
1691
+ <div class="fd-table--fixed">
1692
+ <table class="fd-table">
1693
+ <thead class="fd-table__header">
1694
+ <tr class="fd-table__row">
1695
+ <th class="fd-table__cell fd-table__cell--fixed fd-table__cell--fixed-last" aria-haspopup="true" scope="col">
1696
+ Header Column
1697
+ </th>
1698
+ <th class="fd-table__cell" scope="col">
1699
+ Header Column
1700
+ </th>
1701
+ <th class="fd-table__cell" scope="col">
1702
+ Header Column
1703
+ </th>
1704
+ <th class="fd-table__cell" scope="col">
1705
+ Header Column
1706
+ </th>
1707
+ <th class="fd-table__cell" scope="col">
1708
+ Header Column
1709
+ </th>
1710
+ <th class="fd-table__cell" scope="col">
1711
+ Header Column
1712
+ </th>
1713
+ <th class="fd-table__cell" scope="col">
1714
+ Header Column
1715
+ </th>
1716
+ <th class="fd-table__cell fd-table__cell--fixed-end fd-table__cell--fixed-end-last" scope="col">
1717
+ Header Column
1718
+ </th>
1719
+ </tr>
1720
+ </thead>
1721
+ <tbody class="fd-table__body">
1722
+ <tr class="fd-table__row">
1723
+ <th class="fd-table__cell fd-table__cell--fixed fd-table__cell--fixed-last" scope="row">Row header</th>
1724
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1725
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1726
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1727
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1728
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1729
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1730
+ <td class="fd-table__cell fd-table__cell--fixed-end fd-table__cell--fixed-end-last">Lorem ipsum dolor sit amet ipsum</td>
1731
+ </tr>
1732
+ <tr class="fd-table__row">
1733
+ <th class="fd-table__cell fd-table__cell--fixed fd-table__cell--fixed-last" scope="row">Row header</th>
1734
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1735
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1736
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1737
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1738
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1739
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1740
+ <td class="fd-table__cell fd-table__cell--fixed-end fd-table__cell--fixed-end-last">Lorem ipsum dolor sit amet ipsum</td>
1741
+ </tr>
1742
+ <tr class="fd-table__row">
1743
+ <th class="fd-table__cell fd-table__cell--fixed fd-table__cell--fixed-last" scope="row">Row header</th>
1744
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1745
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1746
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1747
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1748
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1749
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1750
+ <td class="fd-table__cell fd-table__cell--fixed-end fd-table__cell--fixed-end-last">Lorem ipsum dolor sit amet ipsum</td>
1751
+ </tr>
1752
+ <tr class="fd-table__row">
1753
+ <th class="fd-table__cell fd-table__cell--fixed fd-table__cell--fixed-last" scope="row">Row header</th>
1754
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1755
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1756
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1757
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1758
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1759
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1760
+ <td class="fd-table__cell fd-table__cell--fixed-end fd-table__cell--fixed-end-last">Lorem ipsum dolor sit amet ipsum</td>
1761
+ </tr>
1762
+ <tr class="fd-table__row">
1763
+ <th class="fd-table__cell fd-table__cell--fixed fd-table__cell--fixed-last" scope="row">Row header</th>
1764
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1765
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1766
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1767
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1768
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1769
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1770
+ <td class="fd-table__cell fd-table__cell--fixed-end fd-table__cell--fixed-end-last">Lorem ipsum dolor sit amet ipsum</td>
1771
+ </tr>
1772
+ <tr class="fd-table__row">
1773
+ <th class="fd-table__cell fd-table__cell--fixed fd-table__cell--fixed-last" scope="row">Row header</th>
1774
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1775
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1776
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1777
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1778
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1779
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1780
+ <td class="fd-table__cell fd-table__cell--fixed-end fd-table__cell--fixed-end-last">Lorem ipsum dolor sit amet ipsum</td>
1781
+ </tr>
1782
+ <tr class="fd-table__row">
1783
+ <th class="fd-table__cell fd-table__cell--fixed fd-table__cell--fixed-last" scope="row">Row header</th>
1784
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1785
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1786
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1787
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1788
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1789
+ <td class="fd-table__cell">Lorem ipsum dolor sit amet ipsum</td>
1790
+ <td class="fd-table__cell fd-table__cell--fixed-end fd-table__cell--fixed-end-last">Lorem ipsum dolor sit amet ipsum</td>
1791
+ </tr>
1792
+ </tbody>
1793
+ <tfoot class="fd-table__footer">
1794
+ <tr class="fd-table__row">
1795
+ <td class="fd-table__cell"></td>
1796
+ <td class="fd-table__cell"></td>
1797
+ <td class="fd-table__cell"></td>
1798
+ <td class="fd-table__cell">Lorem ipsum dolor</td>
1799
+ <td class="fd-table__cell">Lorem ipsum dolor</td>
1800
+ <td class="fd-table__cell"></td>
1801
+ <td class="fd-table__cell"></td>
1802
+ <td class="fd-table__cell"></td>
1803
+ </tr>
1804
+ </tfoot>
1805
+ </table>
1806
+ </div>
1807
+ ```
1808
+
1809
+ ### Navigation from table rows
1810
+
1811
+ Responsive table allows navigation from a line item. For that purpose you need to add a column with the icon \
1812
+
1813
+ ```html
1814
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1815
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Responsive Table - row navigation</h4>
1816
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
1817
+ </div>
1818
+ <table class="fd-table fd-table--responsive fd-table--no-horizontal-borders">
1819
+ <thead class="fd-table__header">
1820
+ <tr class="fd-table__row">
1821
+ <th class="fd-table__cell" scope="col">Name</th>
1822
+ <th class="fd-table__cell" scope="col">Status</th>
1823
+ <th class="fd-table__cell" scope="col">Price</th>
1824
+ <th class="fd-table__cell" scope="col">Country</th>
1825
+ <th class="fd-table__cell">
1826
+ <span class="fd-table__sr-only">Row Actions</span>
1827
+ </th>
1828
+ </tr>
1829
+ </thead>
1830
+ <tbody class="fd-table__body">
1831
+ <tr class="fd-table__row fd-table__row--activable fd-table__row--hoverable">
1832
+ <td class="fd-table__cell">Banana</td>
1833
+ <td class="fd-table__cell">
1834
+ <span class="fd-object-status fd-object-status--positive">
1835
+ Available
1836
+ </span>
1837
+ </td>
1838
+ <td class="fd-table__cell">5 EUR</td>
1839
+ <td class="fd-table__cell">India</td>
1840
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
1841
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--slim-arrow-right" role="presentation"></i>
1842
+ </td>
1843
+ </tr>
1844
+ <tr class="fd-table__row fd-table__row--activable fd-table__row--hoverable">
1845
+ <td class="fd-table__cell">Pineapple</td>
1846
+ <td class="fd-table__cell">
1847
+ <span class="fd-object-status fd-object-status--negative">
1848
+ Out of stock
1849
+ </span>
1850
+ </td>
1851
+ <td class="fd-table__cell">2 EUR</td>
1852
+ <td class="fd-table__cell">Mexico</td>
1853
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
1854
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--slim-arrow-right" role="presentation"></i>
1855
+ </td>
1856
+ </tr>
1857
+ <tr class="fd-table__row fd-table__row--activable fd-table__row--hoverable">
1858
+ <td class="fd-table__cell">Orange</td>
1859
+ <td class="fd-table__cell">
1860
+ <span class="fd-object-status fd-object-status--informative">
1861
+ Temporary unavailable
1862
+ </span>
1863
+ </td>
1864
+ <td class="fd-table__cell">6 EUR</td>
1865
+ <td class="fd-table__cell">Spain</td>
1866
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
1867
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--slim-arrow-right" role="presentation"></i>
1868
+ </td>
1869
+ </tr>
1870
+ </tbody>
1871
+ </table>
1872
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1873
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table - icon button for navigation</h4>
1874
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
1875
+ </div>
1876
+ <table class="fd-table ">
1877
+ <thead class="fd-table__header">
1878
+ <tr class="fd-table__row">
1879
+ <th class="fd-table__cell" scope="col">Name</th>
1880
+ <th class="fd-table__cell" scope="col">Status</th>
1881
+ <th class="fd-table__cell" scope="col">Price</th>
1882
+ <th class="fd-table__cell" scope="col">Country</th>
1883
+ <th class="fd-table__cell"></th>
1884
+ </tr>
1885
+ </thead>
1886
+ <tbody class="fd-table__body">
1887
+ <tr class="fd-table__row">
1888
+ <td class="fd-table__cell">Banana</td>
1889
+ <td class="fd-table__cell">
1890
+ <span class="fd-object-status fd-object-status--positive">
1891
+ Available
1892
+ </span>
1893
+ </td>
1894
+ <td class="fd-table__cell">5 EUR</td>
1895
+ <td class="fd-table__cell">India</td>
1896
+ <td class="fd-table__cell fd-table__cell--fit-content">
1897
+ <button aria-label="navigation" class="fd-button fd-button--transparent">
1898
+ <i class="sap-icon--navigation-right-arrow"></i>
1899
+ </button>
1900
+ </td>
1901
+ </tr>
1902
+ <tr class="fd-table__row">
1903
+ <td class="fd-table__cell">Pineapple</td>
1904
+ <td class="fd-table__cell">
1905
+ <span class="fd-object-status fd-object-status--negative">
1906
+ Out of stock
1907
+ </span>
1908
+ </td>
1909
+ <td class="fd-table__cell">2 EUR</td>
1910
+ <td class="fd-table__cell">Mexico</td>
1911
+ <td class="fd-table__cell fd-table__cell--fit-content">
1912
+ <button aria-label="navigation" class="fd-button fd-button--transparent">
1913
+ <i class="sap-icon--navigation-right-arrow"></i>
1914
+ </button>
1915
+ </td>
1916
+ </tr>
1917
+ <tr class="fd-table__row">
1918
+ <td class="fd-table__cell">Orange</td>
1919
+ <td class="fd-table__cell">
1920
+ <span class="fd-object-status fd-object-status--informative">
1921
+ Temporary unavailable
1922
+ </span>
1923
+ </td>
1924
+ <td class="fd-table__cell">6 EUR</td>
1925
+ <td class="fd-table__cell">Spain</td>
1926
+ <td class="fd-table__cell fd-table__cell--fit-content">
1927
+ <button aria-label="navigation" class="fd-button fd-button--transparent">
1928
+ <i class="sap-icon--navigation-right-arrow"></i>
1929
+ </button>
1930
+ </td>
1931
+ </tr>
1932
+ </tbody>
1933
+ </table>
1934
+ ```
1935
+
1936
+ ### Navigation indicators
1937
+
1938
+ The table component can display navigation indicators. When multi-selection is used in a master-detail scenario, it is not clear which item was last opened, you can mark it as a “navigated” indicator, as indicated in the second row, to mark an item that is currently open. To display a navigated indicator, add the \
1939
+
1940
+ ```html
1941
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
1942
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Table with Navigation Indication State</h4>
1943
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
1944
+ </div>
1945
+ <table class="fd-table fd-table--no-horizontal-borders">
1946
+ <thead class="fd-table__header">
1947
+ <tr class="fd-table__row">
1948
+ <th class="fd-table__cell fd-table__cell--checkbox">
1949
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="kqqzPI44">
1950
+ <label class="fd-checkbox__label" for="kqqzPI44"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
1951
+ </th>
1952
+ <th class="fd-table__cell" scope="col">Column Header</th>
1953
+ <th class="fd-table__cell" scope="col">Column Header</th>
1954
+ <th class="fd-table__cell" scope="col">Column Header</th>
1955
+ <th class="fd-table__cell" scope="col">Column Header</th>
1956
+ <th class="fd-table__cell" scope="col">
1957
+ <span class="fd-table__sr-only">Row Actions</span>
1958
+ </th>
1959
+ </tr>
1960
+ </thead>
1961
+ <tbody class="fd-table__body">
1962
+ <tr class="fd-table__row fd-table__row--activable fd-table__row--hoverable" aria-selected="true">
1963
+ <td class="fd-table__cell fd-table__cell--checkbox">
1964
+ <input aria-label="checkbox" type="checkbox" checked class="fd-checkbox" id="EWuzWh33">
1965
+ <label class="fd-checkbox__label" for="EWuzWh33"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
1966
+ </td>
1967
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1968
+ <td class="fd-table__cell"><span class="fd-table__text">First Name</span></td>
1969
+ <td class="fd-table__cell"><span class="fd-table__text">Last Name</span></td>
1970
+ <td class="fd-table__cell"><span class="fd-table__text">01/26/17</span></td>
1971
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
1972
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--slim-arrow-right" role="presentation"></i>
1973
+ </td>
1974
+ </tr>
1975
+ <tr class="fd-table__row fd-table__row--activable fd-table__row--hoverable" aria-selected="true">
1976
+ <td class="fd-table__cell fd-table__cell--checkbox">
1977
+ <input aria-label="checkbox" type="checkbox" checked class="fd-checkbox" id="EWuzWh334">
1978
+ <label class="fd-checkbox__label" for="EWuzWh334"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
1979
+ </td>
1980
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1981
+ <td class="fd-table__cell"><span class="fd-table__text">First Name</span></td>
1982
+ <td class="fd-table__cell"><span class="fd-table__text">Last Name</span></td>
1983
+ <td class="fd-table__cell"><span class="fd-table__text">01/26/17</span></td>
1984
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--navigated fd-table__cell--no-padding">
1985
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--slim-arrow-right" role="presentation"></i>
1986
+ </td>
1987
+ </tr>
1988
+ <tr class="fd-table__row fd-table__row--activable fd-table__row--hoverable">
1989
+ <td class="fd-table__cell fd-table__cell--checkbox">
1990
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="EWuzWh335">
1991
+ <label class="fd-checkbox__label" for="EWuzWh335"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
1992
+ </td>
1993
+ <td class="fd-table__cell"><a class="fd-link"><span>user.name@email.com</span></a></td>
1994
+ <td class="fd-table__cell">First Name</td>
1995
+ <td class="fd-table__cell">Last Name</td>
1996
+ <td class="fd-table__cell">01/26/17</td>
1997
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
1998
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--slim-arrow-right" role="presentation"></i>
1999
+ </td>
2000
+ </tr>
2001
+ </tbody>
2002
+ </table>
2003
+ ```
2004
+
2005
+ ### ResponsiveTable
2006
+
2007
+ The desktop responsive table should contain \
2008
+
2009
+ ```html
2010
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
2011
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Responsive Table</h4>
2012
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
2013
+ </div>
2014
+ <table class="fd-table fd-table--responsive fd-table--no-horizontal-borders">
2015
+ <thead class="fd-table__header">
2016
+ <tr class="fd-table__row">
2017
+ <th class="fd-table__cell fd-table__cell--checkbox">
2018
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="kqqzPI">
2019
+ <label class="fd-checkbox__label" for="kqqzPI"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2020
+ </th>
2021
+ <th class="fd-table__cell" scope="col">Name</th>
2022
+ <th class="fd-table__cell" scope="col">Status</th>
2023
+ <th class="fd-table__cell" scope="col">Price</th>
2024
+ <th class="fd-table__cell" scope="col">Country</th>
2025
+ <th class="fd-table__cell">
2026
+ <span class="fd-table__sr-only">Row Actions</span>
2027
+ </th>
2028
+ </tr>
2029
+ </thead>
2030
+ <tbody class="fd-table__body">
2031
+ <tr class="fd-table__row fd-table__row--activable fd-table__row--hoverable">
2032
+ <td class="fd-table__cell fd-table__cell--checkbox">
2033
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="EWuzWh">
2034
+ <label class="fd-checkbox__label" for="EWuzWh"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2035
+ </td>
2036
+ <td class="fd-table__cell">Banana</td>
2037
+ <td class="fd-table__cell">
2038
+ <span class="fd-object-status fd-object-status--positive">
2039
+ Available
2040
+ </span>
2041
+ </td>
2042
+ <td class="fd-table__cell">5 EUR</td>
2043
+ <td class="fd-table__cell">India</td>
2044
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
2045
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--slim-arrow-right" role="presentation"></i>
2046
+ </td>
2047
+ </tr>
2048
+ <tr class="fd-table__row fd-table__row--activable fd-table__row--hoverable">
2049
+ <td class="fd-table__cell fd-table__cell--checkbox">
2050
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="19j0Sc">
2051
+ <label class="fd-checkbox__label" for="19j0Sc"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2052
+ </td>
2053
+ <td class="fd-table__cell">Pineapple</td>
2054
+ <td class="fd-table__cell">
2055
+ <span class="fd-object-status fd-object-status--negative">
2056
+ Out of stock
2057
+ </span>
2058
+ </td>
2059
+ <td class="fd-table__cell">2 EUR</td>
2060
+ <td class="fd-table__cell">Mexico</td>
2061
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
2062
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--slim-arrow-right" role="presentation"></i>
2063
+ </td>
2064
+ </tr>
2065
+ <tr class="fd-table__row fd-table__row--activable fd-table__row--hoverable">
2066
+ <td class="fd-table__cell fd-table__cell--checkbox">
2067
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="a7SfGX">
2068
+ <label class="fd-checkbox__label" for="a7SfGX"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2069
+ </td>
2070
+ <td class="fd-table__cell">Orange</td>
2071
+ <td class="fd-table__cell">
2072
+ <span class="fd-object-status fd-object-status--informative">
2073
+ Temporary unavailable
2074
+ </span>
2075
+ </td>
2076
+ <td class="fd-table__cell">6 EUR</td>
2077
+ <td class="fd-table__cell">Spain</td>
2078
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
2079
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--slim-arrow-right" role="presentation"></i>
2080
+ </td>
2081
+ </tr>
2082
+ </tbody>
2083
+ </table>
2084
+ ```
2085
+
2086
+ ### Responsive Table (pop-in mode)
2087
+
2088
+ The responsive table can be displayed in pop-in mode for mobile and tablet screens. To display responsive table in pop-in mode, add the \
2089
+
2090
+ ```html
2091
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
2092
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Responsive Table - Pop-in mode</h4>
2093
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
2094
+ <table class="fd-table fd-table--responsive fd-table--no-horizontal-borders fd-table--no-vertical-borders fd-table--pop-in">
2095
+ <thead class="fd-table__header">
2096
+ <tr class="fd-table__row">
2097
+ <th class="fd-table__cell" scope="col">Name</th>
2098
+ <th class="fd-table__cell" scope="col">Price</th>
2099
+ <th class="fd-table__cell" scope="col"></th>
2100
+ </tr>
2101
+ </thead>
2102
+ <tbody class="fd-table__body">
2103
+ <tr class="fd-table__row fd-table__row--main fd-table__row--activable fd-table__row--hoverable">
2104
+ <td class="fd-table__cell">
2105
+ <p class="fd-table__text fd-table__text--title">Banana</p>
2106
+ <p class="fd-table__text">India</p>
2107
+ </td>
2108
+ <td class="fd-table__cell fd-table__cell--fit-content">
2109
+ 5 EUR
2110
+ </td>
2111
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
2112
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--navigation-right-arrow" role="presentation"></i>
2113
+ </td>
2114
+ </tr>
2115
+ <tr class="fd-table__row fd-table__row--secondary">
2116
+ <td class="fd-table__cell" colspan="100%">
2117
+ <p class="fd-table__text">
2118
+ <label class="fd-form-label">Status:</label>
2119
+ <span class="fd-object-status fd-object-status--positive">
2120
+ Available
2121
+ </span>
2122
+ </p>
2123
+ <p class="fd-table__text">
2124
+ <label class="fd-form-label">Date Of Expire:</label>
2125
+ 12.01.12
2126
+ </p>
2127
+ </td>
2128
+ </tr>
2129
+ <tr class="fd-table__row fd-table__row--main fd-table__row--activable fd-table__row--hoverable">
2130
+ <td class="fd-table__cell">
2131
+ <p class="fd-table__text fd-table__text--title">Very long name for orange, which no one expected, forces text wrapping into another line.</p>
2132
+ <p class="fd-table__text">Spain</p>
2133
+ </td>
2134
+ <td class="fd-table__cell fd-table__cell--fit-content">
2135
+ 6 EUR
2136
+ </td>
2137
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
2138
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--navigation-right-arrow" role="presentation"></i>
2139
+ </td>
2140
+ </tr>
2141
+ <tr class="fd-table__row fd-table__row--secondary">
2142
+ <td class="fd-table__cell" colspan="100%">
2143
+ <p class="fd-table__text">
2144
+ <label class="fd-form-label">Status:</label>
2145
+ <span class="fd-object-status fd-object-status--negative">
2146
+ Out of stock
2147
+ </span>
2148
+ </p>
2149
+ <p class="fd-table__text">
2150
+ <label class="fd-form-label">Date Of Expire:</label>
2151
+ 12.01.12
2152
+ </p>
2153
+ </td>
2154
+ </tr>
2155
+ </tbody>
2156
+ </table>
2157
+ </div>
2158
+ <div class="fd-toolbar fd-toolbar--title fd-toolbar-active">
2159
+ <h4 class="fd-title fd-title--h4 fd-toolbar__title">Responsive Table - Pop-in Mode with Checkboxes and Navigation Indicator</h4>
2160
+ <span class="fd-toolbar__spacer fd-toolbar__spacer--auto"></span>
2161
+ <table class="fd-table fd-table--responsive fd-table--no-horizontal-borders fd-table--no-vertical-borders fd-table--pop-in">
2162
+ <thead class="fd-table__header">
2163
+ <tr class="fd-table__row">
2164
+ <th class="fd-table__cell fd-table__cell--checkbox" scope="col">
2165
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox fd-table__checkbox" id="Ai4ez611b">
2166
+ <label class="fd-checkbox__label fd-table__checkbox-label" for="Ai4ez611b">
2167
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
2168
+ </label>
2169
+ </th>
2170
+ <th class="fd-table__cell" scope="col">Name</th>
2171
+ <th class="fd-table__cell" scope="col">Price</th>
2172
+ <th class="fd-table__cell" scope="col"></th>
2173
+ </tr>
2174
+ </thead>
2175
+ <tbody class="fd-table__body">
2176
+ <tr class="fd-table__row fd-table__row--main">
2177
+ <td class="fd-table__cell fd-table__cell--checkbox">
2178
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="EWuzWh">
2179
+ <label class="fd-checkbox__label" for="EWuzWh"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2180
+ </td>
2181
+ <td class="fd-table__cell">
2182
+ <p class="fd-table__text fd-table__text--title">Banana</p>
2183
+ <p class="fd-table__text">India</p>
2184
+ </td>
2185
+ <td class="fd-table__cell fd-table__cell--fit-content">
2186
+ 5 EUR
2187
+ </td>
2188
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
2189
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--navigation-right-arrow" role="presentation"></i>
2190
+ </td>
2191
+ </tr>
2192
+ <tr class="fd-table__row fd-table__row--secondary">
2193
+ <td class="fd-table__cell fd-table__cell--checkbox"></td>
2194
+ <td class="fd-table__cell" colspan="100%">
2195
+ <p class="fd-table__text">
2196
+ <label class="fd-form-label">Status:</label>
2197
+ <span class="fd-object-status fd-object-status--positive">
2198
+ Available
2199
+ </span>
2200
+ </p>
2201
+ <p class="fd-table__text">
2202
+ <label class="fd-form-label">Date Of Expire:</label>
2203
+ 12.01.12
2204
+ </p>
2205
+ </td>
2206
+ </tr>
2207
+ <tr class="fd-table__row fd-table__row--main">
2208
+ <td class="fd-table__cell fd-table__cell--checkbox">
2209
+ <input aria-label="checkbox" type="checkbox" class="fd-checkbox" id="Yeas6w">
2210
+ <label class="fd-checkbox__label" for="Yeas6w"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2211
+ </td>
2212
+ <td class="fd-table__cell">
2213
+ <p class="fd-table__text fd-table__text--title">Very long name for orange, which no one expected, forces text wrapping into another line.</p>
2214
+ <p class="fd-table__text">Spain</p>
2215
+ </td>
2216
+ <td class="fd-table__cell fd-table__cell--fit-content">
2217
+ 6 EUR
2218
+ </td>
2219
+ <td class="fd-table__cell fd-table__cell--fit-content fd-table__cell--no-padding">
2220
+ <i class="fd-table__icon fd-table__icon--navigation sap-icon--navigation-right-arrow" role="presentation"></i>
2221
+ </td>
2222
+ </tr>
2223
+ <tr class="fd-table__row fd-table__row--secondary">
2224
+ <td class="fd-table__cell fd-table__cell--checkbox"></td>
2225
+ <td class="fd-table__cell" colspan="100%">
2226
+ <p class="fd-table__text">
2227
+ <label class="fd-form-label">Status:</label>
2228
+ <span class="fd-object-status fd-object-status--negative">
2229
+ Out of stock
2230
+ </span>
2231
+ </p>
2232
+ <p class="fd-table__text">
2233
+ <label class="fd-form-label">Date Of Expire:</label>
2234
+ 12.01.12
2235
+ </p>
2236
+ </td>
2237
+ </tr>
2238
+ </tbody>
2239
+ </table>
2240
+ </div>
2241
+ ```
2242
+
2243
+ ### GridTable
2244
+
2245
+ Grid tables can contain various input elements inside of cells, such as checkboxes, input fields, links and drop-down menus.
2246
+
2247
+ ####Accessibility
2248
+ Information about the table such as a title, summary, and/or keyboard navigation instructions should be provided in captions for screen readers. To caption table information, use the \
2249
+
2250
+ ```html
2251
+ <table class="fd-table" aria-describedby="FU4EwF6st">
2252
+ <caption class="fd-table__caption" id="FU4EwF6st" aria-live="polite">
2253
+ Inventory Status. Use arrow keys to navigate between cells.
2254
+ </caption>
2255
+ <thead class="fd-table__header">
2256
+ <tr class="fd-table__row">
2257
+ <th id="fd-4C0WYEyPqUS" class="fd-table__cell fd-table__cell--checkbox" tabindex="-1">
2258
+ <div class="fd-form-item">
2259
+ <input aria-checked="false" aria-label="Select all rows" class="fd-checkbox" id="fd-gEAc87vXrAR"
2260
+ type="checkbox" value="" tabindex="-1" /><label for="fd-gEAc87vXrAR"
2261
+ class="fd-form-label fd-checkbox__label"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2262
+ </div>
2263
+ </th>
2264
+ <th id="fd-KWRjZC5EqkW" class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2265
+ Product Name
2266
+ </th>
2267
+ <th id="fd-NPWFoAxBzUa" class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2268
+ Product ID
2269
+ </th>
2270
+ <th id="fd-jtbiFXSC7Uy" class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2271
+ Quantity
2272
+ </th>
2273
+ <th id="fd-mQuRgWM6D0u" class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2274
+ Status
2275
+ </th>
2276
+ <th id="fd-hEzpEm5PMU2" class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2277
+ Supplier
2278
+ </th>
2279
+ <th id="fd-NujEpyB6EkG" class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2280
+ Image
2281
+ </th>
2282
+ <th id="fd-NMFoRAVbFky" class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2283
+ Heavy Weight
2284
+ </th>
2285
+ <th id="fd-OspcU6H7F0q" class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2286
+ Categories
2287
+ </th>
2288
+ <th id="fd-nEac1Ko5K0e" class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2289
+ Delivery Date
2290
+ </th>
2291
+ </tr>
2292
+ </thead>
2293
+ <tbody class="fd-table__body">
2294
+ <tr class="fd-table__row" aria-selected="false">
2295
+ <td class="fd-table__cell fd-table__cell--checkbox" tabindex="-1">
2296
+ <div class="fd-form-item">
2297
+ <input aria-checked="false" aria-label="Select row" class="fd-checkbox" id="fd-7EMZOUrG2eK"
2298
+ name="Notebook Basic 15" type="checkbox" value="" tabindex="-1" />
2299
+ <label for="fd-7EMZOUrG2eK" class="fd-form-label fd-checkbox__label"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2300
+ </div>
2301
+ </td>
2302
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2303
+ <span>Notebook Basic 15</span>
2304
+ </td>
2305
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2306
+ <input aria-labelledby="fd-NPWFoAxBzUa" class="fd-input" name="Notebook Basic 15" type="text"
2307
+ value="HT-1000" tabindex="-1" />
2308
+ </td>
2309
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2310
+ <span>10</span>
2311
+ </td>
2312
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2313
+ <span class="fd-object-status fd-object-status--positive">Available</span>
2314
+ </td>
2315
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2316
+ <div class="fd-form-item">
2317
+ <div class="fd-popover fd-popover--full-width">
2318
+ <div class="fd-popover__control">
2319
+ <div class="fd-select" tabindex="-1" aria-labelledby="fd-hEzpEm5PMU2" aria-expanded="false"
2320
+ aria-haspopup="listbox">
2321
+ <div class="fd-select__control">
2322
+ <span class="fd-select__text-content">Very Best Screens</span>
2323
+ <span class="fd-button fd-button--transparent fd-select__button"><i aria-hidden="true"
2324
+ class="sap-icon--slim-arrow-down"
2325
+ role="img"></i></span>
2326
+ </div>
2327
+ </div>
2328
+ </div>
2329
+ </div>
2330
+ </td>
2331
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2332
+ <a href="https://openui5.hana.ondemand.com/test-resources/sap/ui/documentation/sdk/images/HT-1000.jpg"
2333
+ class="fd-link" tabindex="-1">Show image</a>
2334
+ </td>
2335
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2336
+ <div class="fd-form-item">
2337
+ <input aria-checked="false" aria-label="Heavy Weight" class="fd-checkbox" id="fd-tF03y4hjeLT"
2338
+ type="checkbox" value="" tabindex="-1" /><label for="fd-tF03y4hjeLT"
2339
+ class="fd-form-label fd-checkbox__label"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2340
+ </div>
2341
+ </td>
2342
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2343
+ <input aria-labelledby="fd-OspcU6H7F0q" class="fd-input" type="text" value="" tabindex="-1" />
2344
+ </td>
2345
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2346
+ <div class="fd-popover fd-popover--full-width">
2347
+ <div class="fd-popover__control">
2348
+ <div aria-expanded="false" aria-haspopup="true" class="fd-input-group--control fd-input-group">
2349
+ <input aria-labelledby="fd-nEac1Ko5K0e" class="fd-input fd-input-group__input"
2350
+ placeholder="MM/DD/YYYY" type="text" value="" tabindex="-1" />
2351
+ <span class="fd-input-group__addon fd-input-group__addon--button">
2352
+ <button aria-label="Choose date"
2353
+ class="fd-button fd-button--transparent fd-input-group__button" type="button"
2354
+ tabindex="-1">
2355
+ <i aria-hidden="true" class="sap-icon--appointment-2" role="img"></i>
2356
+ </button>
2357
+ </span>
2358
+ </div>
2359
+ </div>
2360
+ </div>
2361
+ </td>
2362
+ </tr>
2363
+ <tr class="fd-table__row" aria-selected="false">
2364
+ <td class="fd-table__cell fd-table__cell--checkbox" tabindex="-1">
2365
+ <div class="fd-form-item">
2366
+ <input aria-checked="false" aria-label="Select row" class="fd-checkbox" id="fd-LbUmEre6JKj"
2367
+ name="Notebook Basic 17" type="checkbox" value="" tabindex="-1" />
2368
+ <label for="fd-LbUmEre6JKj" class="fd-form-label fd-checkbox__label"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2369
+ </div>
2370
+ </td>
2371
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2372
+ <span>Notebook Basic 17</span>
2373
+ </td>
2374
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2375
+ <input aria-labelledby="fd-NPWFoAxBzUa" class="fd-input" name="Notebook Basic 17" type="text"
2376
+ value="HT-1001" tabindex="-1" />
2377
+ </td>
2378
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2379
+ <span>0</span>
2380
+ </td>
2381
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2382
+ <span class="fd-object-status fd-object-status--negative">Out of stock</span>
2383
+ </td>
2384
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2385
+ <div class="fd-form-item">
2386
+ <div class="fd-popover fd-popover--full-width">
2387
+ <div class="fd-popover__control">
2388
+ <div class="fd-select" tabindex="-1" aria-labelledby="fd-hEzpEm5PMU2" aria-expanded="false"
2389
+ aria-haspopup="listbox">
2390
+ <div class="fd-select__control">
2391
+ <span class="fd-select__text-content">Fasttech</span>
2392
+ <span class="fd-button fd-button--transparent fd-select__button"><i aria-hidden="true"
2393
+ class="sap-icon--slim-arrow-down"
2394
+ role="img"></i></span>
2395
+ </div>
2396
+ </div>
2397
+ </div>
2398
+ </div>
2399
+ </td>
2400
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2401
+ <a href="https://openui5.hana.ondemand.com/test-resources/sap/ui/documentation/sdk/images/HT-1001.jpg"
2402
+ class="fd-link" tabindex="-1">Show image</a>
2403
+ </td>
2404
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2405
+ <div class="fd-form-item">
2406
+ <input aria-checked="false" aria-label="Heavy Weight" class="fd-checkbox" id="fd-9WXDOs3SBLH"
2407
+ type="checkbox" value="" tabindex="-1" /><label for="fd-9WXDOs3SBLH"
2408
+ class="fd-form-label fd-checkbox__label"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2409
+ </div>
2410
+ </td>
2411
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2412
+ <input aria-labelledby="fd-OspcU6H7F0q" class="fd-input" type="text" value="" tabindex="-1" />
2413
+ </td>
2414
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2415
+ <div class="fd-popover fd-popover--full-width">
2416
+ <div class="fd-popover__control">
2417
+ <div aria-expanded="false" aria-haspopup="true" class="fd-input-group--control fd-input-group">
2418
+ <input aria-labelledby="fd-nEac1Ko5K0e" class="fd-input fd-input-group__input"
2419
+ placeholder="MM/DD/YYYY" type="text" value="" tabindex="-1" />
2420
+ <span class="fd-input-group__addon fd-input-group__addon--button">
2421
+ <button aria-label="Choose date"
2422
+ class="fd-button fd-button--transparent fd-input-group__button" type="button"
2423
+ tabindex="-1">
2424
+ <i aria-hidden="true" class="sap-icon--appointment-2" role="img"></i>
2425
+ </button>
2426
+ </span>
2427
+ </div>
2428
+ </div>
2429
+ </div>
2430
+ </td>
2431
+ </tr>
2432
+ <tr class="fd-table__row" aria-selected="false">
2433
+ <td class="fd-table__cell fd-table__cell--checkbox" tabindex="-1">
2434
+ <div class="fd-form-item">
2435
+ <input aria-checked="false" aria-label="Select row" class="fd-checkbox" id="fd-Cmvc_Hc7N3_"
2436
+ name="Notebook Basic 18" type="checkbox" value="" tabindex="-1" />
2437
+ <label for="fd-Cmvc_Hc7N3_" class="fd-form-label fd-checkbox__label"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2438
+ </div>
2439
+ </td>
2440
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2441
+ <span>Notebook Basic 18</span>
2442
+ </td>
2443
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2444
+ <input aria-labelledby="fd-NPWFoAxBzUa" class="fd-input" name="Notebook Basic 18" type="text"
2445
+ value="HT-1002" tabindex="-1" />
2446
+ </td>
2447
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2448
+ <span>13</span>
2449
+ </td>
2450
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2451
+ <span class="fd-object-status fd-object-status--positive">Available</span>
2452
+ </td>
2453
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2454
+ <div class="fd-form-item">
2455
+ <div class="fd-popover fd-popover--full-width">
2456
+ <div class="fd-popover__control">
2457
+ <div class="fd-select" tabindex="-1" aria-labelledby="fd-hEzpEm5PMU2" aria-expanded="false"
2458
+ aria-haspopup="listbox">
2459
+ <div class="fd-select__control">
2460
+ <span class="fd-select__text-content">Printers for All</span>
2461
+ <span class="fd-button fd-button--transparent fd-select__button"><i aria-hidden="true"
2462
+ class="sap-icon--slim-arrow-down"
2463
+ role="img"></i></span>
2464
+ </div>
2465
+ </div>
2466
+ </div>
2467
+ </div>
2468
+ </td>
2469
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2470
+ <a href="https://openui5.hana.ondemand.com/test-resources/sap/ui/documentation/sdk/images/HT-1002.jpg"
2471
+ class="fd-link" tabindex="-1">Show image</a>
2472
+ </td>
2473
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2474
+ <div class="fd-form-item">
2475
+ <input aria-checked="false" aria-label="Heavy Weight" class="fd-checkbox" id="fd-Rzaro06MMoH"
2476
+ type="checkbox" value="" tabindex="-1" /><label for="fd-Rzaro06MMoH"
2477
+ class="fd-form-label fd-checkbox__label"><span class="fd-checkbox__checkmark" aria-hidden="true"></span></label>
2478
+ </div>
2479
+ </td>
2480
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2481
+ <input aria-labelledby="fd-OspcU6H7F0q" class="fd-input" type="text" value="" tabindex="-1" />
2482
+ </td>
2483
+ <td class="fd-table__cell fd-table__cell--focusable" tabindex="-1">
2484
+ <div class="fd-popover fd-popover--full-width">
2485
+ <div class="fd-popover__control">
2486
+ <div aria-expanded="false" aria-haspopup="true" class="fd-input-group--control fd-input-group">
2487
+ <input aria-labelledby="fd-nEac1Ko5K0e" class="fd-input fd-input-group__input"
2488
+ placeholder="MM/DD/YYYY" type="text" value="" tabindex="-1" />
2489
+ <span class="fd-input-group__addon fd-input-group__addon--button">
2490
+ <button aria-label="Choose date"
2491
+ class="fd-button fd-button--transparent fd-input-group__button"
2492
+ type="button" tabindex="-1">
2493
+ <i aria-hidden="true" class="sap-icon--appointment-2" role="img"></i>
2494
+ </button>
2495
+ </span>
2496
+ </div>
2497
+ </div>
2498
+ </div>
2499
+ </td>
2500
+ </tr>
2501
+ </tbody>
2502
+ </table>
2503
+ ```
2504
+
2505
+ ### Table without data
2506
+
2507
+ Table can indicate that there is no data to display.
2508
+
2509
+ ```html
2510
+ <table class="fd-table">
2511
+ <thead class="fd-table__header">
2512
+ <tr class="fd-table__row">
2513
+ <th class="fd-table__cell" scope="col">
2514
+ Header Column
2515
+ </th>
2516
+ <th class="fd-table__cell" scope="col">
2517
+ Header Column
2518
+ </th>
2519
+ <th class="fd-table__cell" scope="col">
2520
+ Header Column
2521
+ </th>
2522
+ <th class="fd-table__cell" scope="col">
2523
+ Header Column
2524
+ </th>
2525
+ <th class="fd-table__cell" scope="col">
2526
+ Header Column
2527
+ </th>
2528
+ <th class="fd-table__cell" scope="col">
2529
+ Header Column
2530
+ </th>
2531
+ </tr>
2532
+ </thead>
2533
+ <tbody class="fd-table__body">
2534
+ <tr class="fd-table__row">
2535
+ <td colspan="100%" class="fd-table__cell fd-table__cell--no-data">No Items available.</td>
2536
+ </tr>
2537
+ </tbody>
2538
+ </table>
2539
+ ```
2540
+
2541
+ ### Table with group rows
2542
+
2543
+ Table can have group rows, to get this do the following:
2544
+
2545
+ - Add \
2546
+
2547
+ ```html
2548
+ <table class="fd-table fd-table--group">
2549
+ <thead class="fd-table__header">
2550
+ <tr class="fd-table__row">
2551
+ <th class="fd-table__cell" scope="col">
2552
+ Type
2553
+ </th>
2554
+ <th class="fd-table__cell" scope="col">
2555
+ First Name
2556
+ </th>
2557
+ <th class="fd-table__cell" scope="col">
2558
+ Last Name
2559
+ </th>
2560
+ <th class="fd-table__cell" scope="col">
2561
+ Date
2562
+ </th>
2563
+ </tr>
2564
+ </thead>
2565
+ <tbody class="fd-table__body">
2566
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2567
+ <td class="fd-table__cell fd-table__cell--group fd-table__cell--expand fd-table__cell--focusable" colspan="4" tabindex="0">
2568
+ <span class="fd-table__expand fd-table__expand"></span><span class="fd-table__text--no-wrap">Group row (collapsed), level 1</span>
2569
+ </td>
2570
+ </tr>
2571
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2572
+ <td class="fd-table__cell fd-table__cell--group fd-table__cell--expand fd-table__cell--focusable" colspan="4" tabindex="0">
2573
+ <span class="fd-table__expand fd-table__expand--open"></span><span class="fd-table__text--no-wrap">Group row (expanded), level 1</span>
2574
+ </td>
2575
+ </tr>
2576
+ <tr class="fd-table__row">
2577
+ <td class="fd-table__cell">Regular row, level 2</td>
2578
+ <td class="fd-table__cell">First Name</td>
2579
+ <td class="fd-table__cell">Last Name</td>
2580
+ <td class="fd-table__cell">01/26/17</td>
2581
+ </tr>
2582
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2583
+ <td class="fd-table__cell fd-table__cell--group fd-table__cell--expand fd-table__cell--focusable" colspan="4" tabindex="0">
2584
+ <span class="fd-table__expand fd-table__expand--open"></span><span class="fd-table__text--no-wrap">Group row (expanded), level 2</span>
2585
+ </td>
2586
+ </tr>
2587
+ <tr class="fd-table__row">
2588
+ <td class="fd-table__cell">Regular row, level 3</td>
2589
+ <td class="fd-table__cell">First Name</td>
2590
+ <td class="fd-table__cell">Last Name</td>
2591
+ <td class="fd-table__cell">01/26/17</td>
2592
+ </tr>
2593
+ </tbody>
2594
+ </table>
2595
+ ```
2596
+
2597
+ ### Tree Table
2598
+
2599
+ Table can show tree-like rows, to get this do the following:
2600
+
2601
+ - Add \
2602
+
2603
+ ```html
2604
+ <table class="fd-table fd-table--tree">
2605
+ <thead class="fd-table__header">
2606
+ <tr class="fd-table__row">
2607
+ <th class="fd-table__cell" scope="col">
2608
+ Type
2609
+ </th>
2610
+ <th class="fd-table__cell" scope="col">
2611
+ First Name
2612
+ </th>
2613
+ <th class="fd-table__cell" scope="col">
2614
+ Last Name
2615
+ </th>
2616
+ <th class="fd-table__cell" scope="col">
2617
+ Date
2618
+ </th>
2619
+ </tr>
2620
+ </thead>
2621
+ <tbody class="fd-table__body">
2622
+ <tr class="fd-table__row">
2623
+ <td class="fd-table__cell fd-table__cell">
2624
+ Regular row, level 1
2625
+ </td>
2626
+ <td class="fd-table__cell">First Name</td>
2627
+ <td class="fd-table__cell">Last Name</td>
2628
+ <td class="fd-table__cell">01/26/17</td>
2629
+ </tr>
2630
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2631
+ <td class="fd-table__cell fd-table__cell fd-table__cell--expand fd-table__cell--focusable" tabindex="0">
2632
+ <span class="fd-table__expand fd-table__expand"></span><span class="fd-table__text--no-wrap">Tree row, level 1, collapsed</span>
2633
+ </td>
2634
+ <td class="fd-table__cell">First Name</td>
2635
+ <td class="fd-table__cell">Last Name</td>
2636
+ <td class="fd-table__cell">01/26/17</td>
2637
+ </tr>
2638
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2639
+ <td class="fd-table__cell fd-table__cell fd-table__cell--expand fd-table__cell--focusable" tabindex="0">
2640
+ <span class="fd-table__expand fd-table__expand--open"></span><span class="fd-table__text--no-wrap">Tree row, level 1, expanded</span>
2641
+ </td>
2642
+ <td class="fd-table__cell">First Name</td>
2643
+ <td class="fd-table__cell">Last Name</td>
2644
+ <td class="fd-table__cell">01/26/17</td>
2645
+ </tr>
2646
+ <tr class="fd-table__row">
2647
+ <td class="fd-table__cell fd-table__cell">
2648
+ Regular row, level 2
2649
+ </td>
2650
+ <td class="fd-table__cell">First Name</td>
2651
+ <td class="fd-table__cell">Last Name</td>
2652
+ <td class="fd-table__cell">01/26/17</td>
2653
+ </tr>
2654
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2655
+ <td class="fd-table__cell fd-table__cell fd-table__cell--expand fd-table__cell--focusable" tabindex="0">
2656
+ <span class="fd-table__expand fd-table__expand"></span><span class="fd-table__text--no-wrap">Tree row, level 2, collapsed</span>
2657
+ </td>
2658
+ <td class="fd-table__cell">First Name</td>
2659
+ <td class="fd-table__cell">Last Name</td>
2660
+ <td class="fd-table__cell">01/26/17</td>
2661
+ </tr>
2662
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2663
+ <td class="fd-table__cell fd-table__cell fd-table__cell--expand fd-table__cell--focusable" tabindex="0">
2664
+ <span class="fd-table__expand fd-table__expand--open"></span><span class="fd-table__text--no-wrap">Tree row, level 2, expanded</span>
2665
+ </td>
2666
+ <td class="fd-table__cell">First Name</td>
2667
+ <td class="fd-table__cell">Last Name</td>
2668
+ <td class="fd-table__cell">01/26/17</td>
2669
+ </tr>
2670
+ <tr class="fd-table__row">
2671
+ <td class="fd-table__cell fd-table__cell">
2672
+ Regular row, level 3
2673
+ </td>
2674
+ <td class="fd-table__cell">First Name</td>
2675
+ <td class="fd-table__cell">Last Name</td>
2676
+ <td class="fd-table__cell">01/26/17</td>
2677
+ </tr>
2678
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2679
+ <td class="fd-table__cell fd-table__cell fd-table__cell--expand fd-table__cell--focusable" tabindex="0">
2680
+ <span class="fd-table__expand fd-table__expand fd-table__expand--open"></span><span class="fd-table__text--no-wrap">Tree row, level 3, collapsed</span>
2681
+ </td>
2682
+ <td class="fd-table__cell">First Name</td>
2683
+ <td class="fd-table__cell">Last Name</td>
2684
+ <td class="fd-table__cell">01/26/17</td>
2685
+ </tr>
2686
+ <tr class="fd-table__row">
2687
+ <td class="fd-table__cell fd-table__cell">
2688
+ Regular row, level 4
2689
+ </td>
2690
+ <td class="fd-table__cell">First Name</td>
2691
+ <td class="fd-table__cell">Last Name</td>
2692
+ <td class="fd-table__cell">01/26/17</td>
2693
+ </tr>
2694
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2695
+ <td class="fd-table__cell fd-table__cell fd-table__cell--expand fd-table__cell--focusable" tabindex="0">
2696
+ <span class="fd-table__expand fd-table__expand fd-table__expand--open"></span><span class="fd-table__text--no-wrap">Tree row, level 4, collapsed</span>
2697
+ </td>
2698
+ <td class="fd-table__cell">First Name</td>
2699
+ <td class="fd-table__cell">Last Name</td>
2700
+ <td class="fd-table__cell">01/26/17</td>
2701
+ </tr>
2702
+ <tr class="fd-table__row">
2703
+ <td class="fd-table__cell fd-table__cell">
2704
+ Regular row, level 5
2705
+ </td>
2706
+ <td class="fd-table__cell">First Name</td>
2707
+ <td class="fd-table__cell">Last Name</td>
2708
+ <td class="fd-table__cell">01/26/17</td>
2709
+ </tr>
2710
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2711
+ <td class="fd-table__cell fd-table__cell fd-table__cell--expand fd-table__cell--focusable" tabindex="0">
2712
+ <span class="fd-table__expand fd-table__expand fd-table__expand--open"></span><span class="fd-table__text--no-wrap">Tree row, level 5, collapsed</span>
2713
+ </td>
2714
+ <td class="fd-table__cell">First Name</td>
2715
+ <td class="fd-table__cell">Last Name</td>
2716
+ <td class="fd-table__cell">01/26/17</td>
2717
+ </tr>
2718
+ <tr class="fd-table__row">
2719
+ <td class="fd-table__cell fd-table__cell">
2720
+ Regular row, level 6
2721
+ </td>
2722
+ <td class="fd-table__cell">First Name</td>
2723
+ <td class="fd-table__cell">Last Name</td>
2724
+ <td class="fd-table__cell">01/26/17</td>
2725
+ </tr>
2726
+ <tr class="fd-table__row fd-table__row--hoverable fd-table__row--activable">
2727
+ <td class="fd-table__cell fd-table__cell fd-table__cell--expand fd-table__cell--focusable" tabindex="0">
2728
+ <span class="fd-table__expand fd-table__expand"></span><span class="fd-table__text--no-wrap">Tree row, level 6, collapsed</span>
2729
+ </td>
2730
+ <td class="fd-table__cell">First Name</td>
2731
+ <td class="fd-table__cell">Last Name</td>
2732
+ <td class="fd-table__cell">01/26/17</td>
2733
+ </tr>
2734
+ </tbody>
2735
+ </table>
2736
+ ```
2737
+
2738
+ ## Accessibility
2739
+
2740
+ - Use semantic HTML elements where appropriate
2741
+ - Include proper ARIA attributes for interactive elements
2742
+ - Ensure keyboard navigation support
2743
+ - Provide adequate color contrast
2744
+
2745
+ ## Source
2746
+
2747
+ This documentation was automatically generated from: `packages/styles/stories/Components/table/table.stories.js`
2748
+
2749
+ For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).