> For AI agents: the complete documentation index is available at /apps-plugin/docs/llms.txt, the full documentation bundle is available at /apps-plugin/docs/llms-full.txt.

# picker-column

滚轮选择列，单列数据选择，通常作为 PickerView 的子组件使用。

<iframe src="https://developer.doubao.com/docs-preview/component-simulator/?caseId=picker-view"
  title="组件示例 picker-column"
  width="100%"
  height="700"
  loading="lazy"
  style="width:100%;height:700px;border:0;border-radius:16px;overflow:hidden;"
></iframe>

## 扫码预览

![扫码预览 picker-column](https://api.qrserver.com/v1/create-qr-code/?size=200x200\&data=doubao%3A%2F%2Fdoubao_apps%3Fapp_id%3Ddb_1McM5Ni%26path%3D%252Fpages%252Fcomponent%252Fpicker-view%252Findex)

## Props

<table>
<thead>
<tr><th width="140">属性名</th><th width="240">类型</th><th width="120">默认值</th><th width="80">必填</th><th width="360">说明</th></tr>
</thead>
<tbody>
<tr><td>className</td><td><code>string</code></td><td>-</td><td>否</td><td>组件类名</td></tr>
<tr><td>defaultValue</td><td><code>string | number</code></td><td>-</td><td>否</td><td>默认选中的值，用于非受控模式</td></tr>
<tr><td>onChange</td><td><code>(value: string | number, option: PickerColumnOption) =&gt; void</code></td><td>-</td><td>否</td><td>选项变化时触发</td></tr>
<tr><td>options</td><td><code>PickerColumnOption[]</code></td><td>-</td><td>是</td><td>列数据</td></tr>
<tr><td>style</td><td><code>CSSProperties</code></td><td>-</td><td>否</td><td>组件样式</td></tr>
<tr><td>value</td><td><code>string | number</code></td><td>-</td><td>否</td><td>当前选中的值</td></tr>
</tbody>
</table>

## Ref 方法

<table>
<thead>
<tr><th width="180">方法名</th><th width="260">类型</th><th width="360">说明</th></tr>
</thead>
<tbody>
<tr><td>getValue</td><td><code>() =&gt; { option: PickerColumnOption; value: string | number }</code></td><td>获取当前选中项的值和完整选项数据。</td></tr>
<tr><td>setValue</td><td><code>(value: string | number) =&gt; void</code></td><td>滚动到指定值对应的选项。</td></tr>
</tbody>
</table>
