# Selected row in one2many in Wizard

**URL:** https://discuss.tryton.org/t/selected-row-in-one2many-in-wizard/5452
**Category:** Developer
**Created:** [August 7, 2022, 8:21am UTC](https://discuss.tryton.org/t/selected-row-in-one2many-in-wizard/5452 "2022-08-07T08:21:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bala4901](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/b/fbc32d/32.png) [@bala4901](https://discuss.tryton.org/u/bala4901)
#### Post date: [August 7, 2022, 8:21am UTC](https://discuss.tryton.org/t/selected-row-in-one2many-in-wizard/5452/1 "2022-08-07T08:21:51Z")

</div>

Hi,

I have an one2many field in wizard.  
When I execute the button action in wizard, how to select only selected row in one2many to select?  
Currently, it only can select all the rows in the one2many field.

downloads\_ids = fields.One2Many(“target.table”, None, "Target Field)

Example as the picture below, I wanted only Top First row to be execute.  
Is it possible?

 ![image](https://discuss-cdn.tryton.org/uploads/default/original/2X/5/552f827c7df667575a7afca5bb85ddd18e2a34f1.png)

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [August 7, 2022, 11:09am UTC](https://discuss.tryton.org/t/selected-row-in-one2many-in-wizard/5452/2 "2022-08-07T11:09:31Z")

</div>

> [@bala4901](#):
>
> When I execute the button action in wizard, how to select only selected row in one2many to select?

You can not because there are no selection on One2Many, row is there or not.  
If you need to “select” rows, you must use a Many2Many and optionally you can use the multiselection widget.
