You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The minimum number of rows that are displayed. If the data contains fewer entries than `minRows`, it will be filled with empty rows.
651
651
*
652
+
* __Note:__ To prevent the height of the table from jumping when e.g. filtering or fetching data, it's recommended setting `minRows` to the same value as `visibleRows`.
653
+
*
652
654
* @default 5
653
655
*/
654
656
minRows?: number;
655
657
/**
656
658
* Defines how the table will render rows.
657
659
*
658
660
* - __"Fixed":__ The table always has as many rows as defined in the `visibleRows` prop.
659
-
* - __"Auto":__ The number of visible rows displayed depends on the height of the surrounding container.
661
+
* - __"Auto":__ The number of visible rows depends on the height of the surrounding container. Since this mode can cause the table height to change when filtering, fetching data, etc., we recommend using the `"AutoWithEmptyRows"` mode instead.
660
662
* - __"AutoWithEmptyRows":__ The number of rows displayed depends on the height of the surrounding container, if not enough visible rows are available, empty rows are displayed.
661
663
* - __"Interactive":__ Adds a resizer to the bottom of the table to dynamically add or remove visible rows. The initial number of rows is defined by the `visibleRows` prop.
662
664
*
663
-
* __Default:__ `"Fixed"`
664
-
*
665
665
* __Note:__ When `"Auto"` or `"AutoWithEmptyRows"` is enabled, we recommend using a fixed height for the parent container.
* The number of rows visible without going into overflow.
680
682
*
681
-
* __Default:__ `15`
683
+
* __Note:__
684
+
* - If the data contains more entries than the `visibleRow` count, a vertical scrollbar is rendered and the table goes into overflow.
685
+
* - To prevent the height of the table from jumping when e.g. filtering or fetching data, it's recommended setting `minRows` to the same value as `visibleRows`.
682
686
*
683
-
* __Note:__ If the data contains more entries than the `visibleRow` count, a vertical scrollbar is rendered and the table goes into overflow.
* Component that will be rendered when the table is not loading and has no data.
988
991
*
989
-
* __Default:__ `DefaultNoDataComponent`
992
+
* __Note:__ Although this prop accepts all React components, it is strongly recommended that you use `IllustratedMessage` with `design="Auto"` to preserve the intended design.
* The number of visible rows displayed depends on the height of the surrounding container.
12
+
* The number of visible rows depends on the height of the surrounding container. Since this mode can cause the table height to change when filtering, fetching data, etc., we recommend using the `"AutoWithEmptyRows"` mode instead.
13
13
*
14
14
* __Note:__ It's recommended to use a fixed height for the outer container.
0 commit comments