Skip to content

Commit 5912971

Browse files
committed
Format docs
1 parent 167125b commit 5912971

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/extensibility/50-list-and-details-widgets.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ These are the available `Columns` widget parameters:
371371
| **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)`. |
372372
| **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. |
373373
| **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. |
375375

376376
See the following examples:
377377

@@ -510,12 +510,12 @@ These are the available `ResourceList` widget parameters:
510510
| **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. |
511511
| **sort** | No | []objects | Allows you to sort by the value from the given **source**. |
512512
| **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. |
514514
| **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)`. |
515515
| **search** | No | []objects | Allows you to search for resources including the value from the given **source**. |
516516
| **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. |
517517
| **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. |
519519

520520
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`).
521521

0 commit comments

Comments
 (0)