# Table and OptionFields

**URL:** <https://community.viktor.ai/t/table-and-optionfields/2214>\
**Category:** Need help? Ask here!\
**Created:** [24 September 2024 16:11 UTC](https://community.viktor.ai/t/table-and-optionfields/2214 "2024-09-24T16:11:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LM\_Vin](https://community.viktor.ai/letter_avatar_proxy/v4/letter/l/848f3c/32.png) [@LM\_Vin](https://community.viktor.ai/u/LM_Vin)\
**Post date:** [24 September 2024 16:11 UTC](https://community.viktor.ai/t/table-and-optionfields/2214/1 "2024-09-24T16:11:08Z")

</div>

Hello eveyone,

I have a question on Table.

I would like create a column of OptionField according to previous column.

Could we work line per line and propose specific options for the own line ?  
Do you know a working method ?  
Do you have any others ideas ?

Regards,  
Louis

---

<div class="post-metadata">

**Author:** ![mslootweg](https://community.viktor.ai/user_avatar/community.viktor.ai/mslootweg/32/25_2.png) [@mslootweg](https://community.viktor.ai/u/mslootweg)\
**Post date:** [25 September 2024 07:15 UTC](https://community.viktor.ai/t/table-and-optionfields/2214/2 "2024-09-25T07:15:23Z")

</div>

Hi @LM_Vin ,

I believe what you are asking for is similar to this support post:

> [@Row dependend OptionField](https://community.viktor.ai/t/row-dependend-optionfield/1533):
>
> Hii all, I have a question regarding the OptionField in a table. Is it possible to have row dependend option fields? For example a table with two columns, in which the first column is a column of names and the second columns should show options of properties of that name. As the names in column 1 are different, the possible should also differ and be row dependend. Now you can use a call back function that returns a list of options, but can you have different lists per row? Hope you can help m…

As noted in that post, unfortunately we do not yet support row dependent `OptionField` options.

An alternative would be to use the `DynamicArray` (the alternative to a `Table`), which does support this:

> [@Look-up cell values within Dynamic Array Row (or Table Row)](https://community.viktor.ai/t/look-up-cell-values-within-dynamic-array-row-or-table-row/235):
>
> At the moment a user can not use other values within a dynamic array row in the logic of a dynamic array cell. It is possible to use values in the logic of a cell, for for example visibilty or optionlist composition of any defined cell in the parametrization using look-up, function look-up of callback functions. However it is not possible to use cell values of a cell in the same dynamic array row. For example: You want to make up a option list in a dynamic array. The composition of the option l…

I hope this helps.
