Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-20074

Add an index identifier to ActionTypes in ListViews to better Identify the action clicked


    • Type: New Feature
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android, iOS
    • Environment:

      Alloy + TiSDK 5.0/5.1


      Currently, custom ActionTypes trigger an event, and the action provided with the event is the Title of the ActionType.

      However, when having more than 1 translation, you would need to compare it to the translation for the ActionType to identify which action has been clicked. There should be a unique parameter that can be passed along.

      This is also not in line with other elements in Titanium, like dialogs, that return the index of the clicked item, and not the title. It should be the same here


      function actionTypeClickEventHandler(e){
          if (e.action == L('Cancel'){};

      Should be something like this, which is in line with Dialogs and confirm boxes.

      function actionTypeClickEventHandler(e){
          if (e.actionIndex === 0){};




            • Assignee:
              topener Rene Pot
            • Watchers:
              4 Start watching this issue


              • Created:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration