> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IRankingMeasureDropdownBodyRenderProps

- Package: [@gooddata/sdk-ui-filters](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-filters/src/RankingFilter/types.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Props passed to a custom renderer for the ranking filter measure dropdown body.

**Signature:**

```typescript
export interface IRankingMeasureDropdownBodyRenderProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [onClose](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/sdk-ui-filters.irankingmeasuredropdownbodyrenderprops/index.md#irankingmeasuredropdownbodyrenderpropsonclose) |  | () =&gt; void | **_(BETA)_** Closes the dropdown without changing the selection. |
| [onSelect](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/sdk-ui-filters.irankingmeasuredropdownbodyrenderprops/index.md#irankingmeasuredropdownbodyrenderpropsonselect) |  | (ref: [ObjRefInScope](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objrefinscope/index.md)) =&gt; void | **_(BETA)_** Selects a measure and closes the dropdown. |
| [selectedItemRef](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-filters/sdk-ui-filters.irankingmeasuredropdownbodyrenderprops/index.md#irankingmeasuredropdownbodyrenderpropsselecteditemref) |  | [ObjRefInScope](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.objrefinscope/index.md) | **_(BETA)_** The currently selected ranked measure. |

## Property details

### IRankingMeasureDropdownBodyRenderProps.onClose

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Closes the dropdown without changing the selection.

**Signature:**

```typescript
onClose: () => void;
```

### IRankingMeasureDropdownBodyRenderProps.onSelect

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Selects a measure and closes the dropdown.

**Signature:**

```typescript
onSelect: (ref: ObjRefInScope) => void;
```

### IRankingMeasureDropdownBodyRenderProps.selectedItemRef

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The currently selected ranked measure.

**Signature:**

```typescript
selectedItemRef: ObjRefInScope;
```
