# Power Table extension function configureEditor

**URL:** <https://forum.inductiveautomation.com/t/power-table-extension-function-configureeditor/38749>\
**Category:** Ignition\
**Tags:** ignition79, vision, scripting\
**Created:** [September 16, 2020, 3:32pm UTC](https://forum.inductiveautomation.com/t/power-table-extension-function-configureeditor/38749 "2020-09-16T15:32:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [September 16, 2020, 3:32pm UTC](https://forum.inductiveautomation.com/t/power-table-extension-function-configureeditor/38749/1 "2020-09-16T15:32:21Z")

</div>

Is there _ **anyway** _ to get the rowIndex in this extension function?  
I’ve read articles about dynamic data but I want to show the list or not.

Example of what I’m trying to accomplish

```auto
if rowIndex != 0:
     return {'options': [(0, 'A Shift'), (1, 'B Shift'), (2, 'C Shift')]}

```

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 16, 2020, 3:44pm UTC](https://forum.inductiveautomation.com/t/power-table-extension-function-configureeditor/38749/2 "2020-09-16T15:44:07Z")

</div>

You can’t get it in that function. But that function can supply an editor _ **object** _ that will get the row index whenever it is asked to prepare to edit a specific cell. This will help you get started:

[http://forum.inductiveautomation.com/search?q=TableCellEditor](http://forum.inductiveautomation.com/search?q=TableCellEditor)
