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
|`onFilterChange` |callback function for when filter is updated
555
-
556
-
|`rowFilters` |(optional) An array of RowFilter elements that define the
557
-
available filter options
558
-
559
-
|`nameFilterPlaceholder` |(optional) placeholder for name filter
560
-
561
-
|`labelFilterPlaceholder` |(optional) placeholder for label filter
562
-
563
-
|`hideLabelFilter` |(optional) only shows the name filter instead of
564
-
both name and label filter
565
-
566
-
|`hideNameLabelFilter` |(optional) hides both name and label filter
567
-
568
-
|`columnLayout` |(optional) column layout object
569
-
570
-
|`hideColumnManagement` |(optional) flag to hide the column management
571
-
|===
572
-
573
-
[discrete]
574
-
== `useListPageFilter`
575
-
576
-
A hook that manages filter state for the ListPageFilter component. It returns a tuple containing the data filtered by all static filters, the data filtered by all static and row filters, and a callback that updates rowFilters.
577
-
578
-
.Example
579
-
[source,tsx]
580
-
----
581
-
// See implementation for more details on RowFilter and FilterValue types
|`rowFilters` |(optional) An array of RowFilter elements that define the
605
-
available filter options
606
-
607
-
|`staticFilters` |(optional) An array of FilterValue elements that are
608
-
statically applied to the data
609
-
|===
610
-
611
482
[discrete]
612
483
== `ResourceLink`
613
484
@@ -1364,14 +1235,42 @@ tooltip.
1364
1235
|===
1365
1236
1366
1237
[discrete]
1367
-
== `useModal`
1238
+
== `useOverlay`
1368
1239
1369
-
A hook to launch Modals.
1240
+
The `useOverlay` hook inserts a component directly to the DOM outside the web console's page structure. This allows the component to be freely styled and positioning with CSS. For example, to float the overlay in the top right corner of the UI: `style={{ position: 'absolute', right: '2rem', top: '2rem', zIndex: 999 }}`. It is possible to add multiple overlays by calling `useOverlay` multiple times. A `closeOverlay` function is passed to the overlay component. Calling it removes the component from the DOM without affecting any other overlays that might have been added with `useOverlay`. Additional props can be passed to `useOverlay` and they will be passed through to the overlay component.
<Button onClick={onClickOverlay}>Launch an Overlay</Button>
1271
+
<Button onClick={onClickModal}>Launch a Modal</Button>
1272
+
)
1273
+
}
1375
1274
----
1376
1275
1377
1276
[discrete]
@@ -1690,10 +1589,139 @@ Deprecated: This hook is not related to console functionality. Hook that ensures
1690
1589
1691
1590
:!power-bi-url:
1692
1591
1592
+
[discrete]
1593
+
== `VirtualizedTable`
1594
+
1595
+
Deprecated: Use PatternFly's link:https://www.patternfly.org/extensions/data-view/overview/[Data view] instead. A component for making virtualized tables.
|`NoDataEmptyMsg` |(optional) no data empty message component
1622
+
|`EmptyMsg` |(optional) empty message component
1623
+
|`scrollNode` |(optional) function to handle scroll
1624
+
|`label` |(optional) label for table
1625
+
|`ariaLabel` |(optional) aria label
1626
+
|`gridBreakPoint` |sizing of how to break up grid for responsiveness
1627
+
|`onSelect` |(optional) function for handling select of table
1628
+
|`rowData` |(optional) data specific to row
1629
+
|===
1630
+
1631
+
[discrete]
1632
+
== `ListPageFilter`
1633
+
1634
+
Deprecated: Use PatternFly's link:https://www.patternfly.org/extensions/data-view/overview/[Data view] instead. Component that generates filter for list page.
1635
+
1636
+
.Example
1637
+
[source,tsx]
1638
+
----
1639
+
// See implementation for more details on RowFilter and FilterValue types
|`onFilterChange` |callback function for when filter is updated
1665
+
1666
+
|`rowFilters` |(optional) An array of RowFilter elements that define the
1667
+
available filter options
1668
+
1669
+
|`nameFilterPlaceholder` |(optional) placeholder for name filter
1670
+
1671
+
|`labelFilterPlaceholder` |(optional) placeholder for label filter
1672
+
1673
+
|`hideLabelFilter` |(optional) only shows the name filter instead of
1674
+
both name and label filter
1675
+
1676
+
|`hideNameLabelFilter` |(optional) hides both name and label filter
1677
+
1678
+
|`columnLayout` |(optional) column layout object
1679
+
1680
+
|`hideColumnManagement` |(optional) flag to hide the column management
1681
+
|===
1682
+
1683
+
[discrete]
1684
+
== `useListPageFilter`
1685
+
1686
+
Deprecated: Use PatternFly's link:https://www.patternfly.org/extensions/data-view/overview/[Data view] instead. A hook that manages filter state for the ListPageFilter component. It returns a tuple containing the data filtered by all static filters, the data filtered by all static and row filters, and a callback that updates rowFilters.
1687
+
1688
+
.Example
1689
+
[source,tsx]
1690
+
----
1691
+
// See implementation for more details on RowFilter and FilterValue types
0 commit comments