Skip to content

Commit d2387eb

Browse files
authored
docs(AnalyticalTable): mention component handling for scaleWidthMode (#3849)
1 parent dea813b commit d2387eb

File tree

1 file changed

+4
-2
lines changed
  • packages/main/src/components/AnalyticalTable

1 file changed

+4
-2
lines changed

packages/main/src/components/AnalyticalTable/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,10 @@ export interface AnalyticalTablePropTypes extends Omit<CommonProps, 'title'> {
391391
* Defines the column growing behaviour. Possible Values:
392392
*
393393
* - **Default**: The available space of the table is distributed evenly for columns without fixed width. If the minimum width of all columns is reached, horizontal scrolling will be enabled.
394-
* - **Smart**: Every column gets the space it needs for displaying the full header text. If all headers need more space than the available table width, horizontal scrolling will be enabled. If there is space left, columns with a long content will get more space until there is no more table space left.
395-
* - **Grow**: Every column gets the space it needs for displaying its full header text and full content of all cells. If it requires more space than the table has, horizontal scrolling will be enabled.
394+
* - **Smart**: Every column gets the space it needs for displaying the full header text. If all header texts need more space than the available table width, horizontal scrolling will be enabled. If there is space left, columns with a long text will get more space until there is no more table space left.
395+
* - **Grow**: Every column gets the space it needs for displaying its full header text and full text content of all cells. If it requires more space than the table has, horizontal scrolling will be enabled.
396+
*
397+
* __Note:__ Custom cells with components instead of text as children are ignored by the `Smart` and `Grow` modes.
396398
*
397399
*/
398400
scaleWidthMode?: TableScaleWidthMode | keyof typeof TableScaleWidthMode;

0 commit comments

Comments
 (0)