add/delete rows to picker column dynamically after the picker has been rendered

You must Login before you can answer or comment on any questions.

Hi, Im looking for adding or deleting rows of picker column after the picker is rendered. I tried many ways, nothing seems to be working fine in iOS. (Im interested for Android too).

create picker and add to window.

  1. add row to picker column
  2. add row then refresh column
  3. setting picker column to empty array, then creating picker column with new data.
  4. nullifying picker var, then creating picker with new data.

Titanium SDK: 2.1.3, Platform:iOS6

1 Answer

you can only kill all content of a column and refill.After creating of picker you have to wait a little time, because rendering.

Rainer

Your Answer

Think you can help? Login to answer this question!