Titanium Community Questions & Answer Archive

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

Exclude rows from Editable/Moving?

Is there a way to exclude certain tableview rows from being able to be deleted OR moved when we set editable to true, or moving to true?

I have some rows which are kind of like my own custom headers that I don't want the user to be able to select.

— asked August 20th 2010 by Mike Robinson
  • delete
  • editable
  • iphone
  • moving
  • tableview
0 Comments

1 Answer

  • Well, it took some digging around the Titanium source on Github…..but I will answer in case others have this question.

    To prevent deleting a row: set editable = false for the row

    To prevent moving a row: set moveable = false for the row

    — answered September 17th 2010 by Mike Robinson
    permalink
    0 Comments
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.