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
Copy file name to clipboardExpand all lines: docs/extensibility/50-list-and-details-widgets.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -371,7 +371,7 @@ These are the available `Columns` widget parameters:
371
371
| **filter** | No | [JSONata](100-jsonata.md) function | Use it to filter Events emitted by a specific resource. There is a special custom function [matchEvents](101-preset-functions.md#matchevents-item-kind-name) you can use to filter Events, for example, `$matchEvents($$, $root.kind, $root.metadata.name)`. |
372
372
| **defaultType** | No | string | The value is either: `all`, `information`, or `warning`. When set to `information` or `warning`, Events with specific type are displayed. By default all Events are fetched. |
373
373
| **hideInvolvedObjects** | No | boolean | If set to `true`, the **Involved Objects** column is hidden. Defaults to `false`. |
374
-
| **simpleEmptyListMessage** | No | boolean | If set to `true`, the empty events list shows the `no resources` message without any images or links. |
374
+
| **simpleEmptyListMessage** | No | boolean | If set to `true`, the empty events list shows the `no resources` message without any images or links. |
375
375
376
376
See the following examples:
377
377
@@ -510,12 +510,12 @@ These are the available `ResourceList` widget parameters:
510
510
| **children** | No | []objects | Used to obtain custom columns. If not set, the configuration is reused based on the existing resource list, defined in Busola or using extensibility. |
511
511
| **sort** | No | []objects | Allows you to sort by the value from the given **source**. |
512
512
| **sort.source** | **Yes** | [JSONata](100-jsonata.md) expression | Used to fetch data for the column. In its simplest form, it's the path to the value. |
513
-
| **sort.default** | No | boolean | If set to `true`, the list view is sorted by this value by default. |
513
+
| **sort.default** | No | boolean | If set to `true`, the list view is sorted by this value by default. |
514
514
| **sort.compareFunction** | No | [JSONata](100-jsonata.md) compare function | It is required to use `$first` and `$second` variables when comparing two values. There is a special custom function [compareStrings](101-preset-functions.md#comparestrings-first-second) used to compare two strings, for example, `$compareStrings($first, $second)`. |
515
515
| **search** | No | []objects | Allows you to search for resources including the value from the given **source**. |
516
516
| **search.source** | **Yes** | [JSONata](100-jsonata.md) expression | Used to fetch data for the column. In its simplest form, it's the path to the value. |
517
517
| **search.searchFunction** | No | [JSONata](100-jsonata.md) search function | It allows you to use the `$input` variable to get the search input's value that can be used to search for more complex data. |
518
-
| **simpleEmptyListMessage** | No | boolean | If set to `true`, the empty resource list shows the `no resources` message without any images or links. |
518
+
| **simpleEmptyListMessage** | No | boolean | If set to `true`, the empty resource list shows the `no resources` message without any images or links. |
519
519
520
520
Since the `ResourceList` widget does more than just list the items, you must provide the whole data source (`$myResource()`) instead of just the items (`$myResource().items`).
0 commit comments