Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-163] How can I create multiple switches dynamically.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:52:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterAtharva
AssigneeReggie Seagraves
Created2011-04-15T02:24:33.000+0000
Updated2011-04-17T01:52:11.000+0000

Description

How can I create multiple switches dynamically? And after clicking on switch I want both value and id of switch control.

var sw1 = Titanium.UI.createSwitch({id:'switch1', value:true});

Comments

  1. Nolan Wright 2011-04-15

    please ask this question on support.appcelerator.net. thanks.

JSON Source