Titanium Community Questions & Answer Archive

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

Disallow moving of certain tableViewRow's

I'm trying to configure a tableView so that I can disallow the first 4 rows (for example) to be moved. I'm trying to play with a combination of "moving" property on the tableView and "movable" on the tableViewRow's but with no success.

Therefore my question:

  • first of all: is this behaviour possible to implement on iPhone?

  • if yes, how can I do it?

  • otherwise, what do you suggest? Should I create two tableView's for example?

Thank you.

— asked November 18th 2010 by Etienne Bernard
  • iphone
  • moving
  • tableview
0 Comments

1 Answer

  • Bernard, I am pretty certain it is not possible to prevent only a portion of a table from moving at a time. However, as you have implied in your last option, you can create two tables and position them on the screen so that no gap exists between them. On the first table, you would need to set the moving property of Titanium.UI.TableView to false.

    — answered November 18th 2010 by Paul Dowsett
    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.