Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Tableview in KitchenSink giving an error

I found this error when trying to tweak my app for Android. Let me first say that my Titanium iPhone app is not exporting cleanly to Android. This is going to take some more time.

In KitchSink in the Android emulator, running API 2.1-update1, I select Views, then TableViews. I get this error:

Location:
[70,0] app://examples/table_views.js

Message:
TypeError: Cannont read property "GRAY" from undefined (app://examples/table_views.js#70)

— asked July 25th 2010 by Chris Dotson
  • android
  • emulator
  • error
  • kitchensink
  • runtime
  • tableview
0 Comments

2 Answers

  • I am getting the same error on my Android 2.2 device. HTC.
    I can't see any of the table views examples.

    — answered November 24th 2010 by HC Chan
    permalink
    0 Comments
  • Chris

    Where are you getting your version of the KitchenSink from? Would you post the URL? I can't find a property set to "gray" anywhere here in table_views.js

    — answered November 24th 2010 by Paul Dowsett
    permalink
    1 Comment
    • OK, now I realise that HC bumped an old post. Please ignore.

      — commented November 24th 2010 by Paul Dowsett
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.