# TypeError: readonly class or attribute: tabData

**URL:** <https://forum.inductiveautomation.com/t/typeerror-readonly-class-or-attribute-tabdata/2579>\
**Category:** Ignition\
**Created:** [January 28, 2011, 9:00pm UTC](https://forum.inductiveautomation.com/t/typeerror-readonly-class-or-attribute-tabdata/2579 "2011-01-28T21:00:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [January 28, 2011, 9:00pm UTC](https://forum.inductiveautomation.com/t/typeerror-readonly-class-or-attribute-tabdata/2579/1 "2011-01-28T21:00:33Z")

</div>

I get this when I try to set the tabs on a tabstrip on startup from a script (not through binding).

Do I have to do this through binding?

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [January 28, 2011, 10:32pm UTC](https://forum.inductiveautomation.com/t/typeerror-readonly-class-or-attribute-tabdata/2579/2 "2011-01-28T22:32:31Z")

</div>

This works for me. Are you sure you have the path to the Tab Strip component right? If you are going to a component without the tabData property you will get the same error.

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [January 28, 2011, 11:06pm UTC](https://forum.inductiveautomation.com/t/typeerror-readonly-class-or-attribute-tabdata/2579/3 "2011-01-28T23:06:24Z")

</div>

You’re right Bobby, ‘TabStrip’ != ‘Tab Strip’

I’ll change this “problem” to a request for a better error message. How about:  
Component “xxx” not found - check spelling

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [January 28, 2011, 11:17pm UTC](https://forum.inductiveautomation.com/t/typeerror-readonly-class-or-attribute-tabdata/2579/4 "2011-01-28T23:17:38Z")

</div>

Great! I’m glad that worked. ![:thumb_left:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e26afb081ddde6df016df6ee49159cf56aaca688.gif ":thumb\_left:")
