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

Windows: TableViewRow click event should contain rowData

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 6.3.0
    • Fix Version/s: Release 7.3.0
    • Component/s: Windows
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2018 Sprint 05 SDK, 2017 Sprint 25 SDK, 2017 Sprint 26 SDK, 2018 Sprint 01 SDK, 2018 Sprint 04 SDK, 2018 Sprint 06 SDK, 2018 Sprint 07 SDK, 2018 Sprint 08 SDK, 2018 Sprint 11 SDK

      Description

      click event in Ti.UI.TableViewRow should contain row data information such as rowData and section etc according to the API doc.

      var win = Ti.UI.createWindow();
       
      var sectionFruit = Ti.UI.createTableViewSection({ headerTitle: 'Fruit' });
      var row = Ti.UI.createTableViewRow({ title: 'Apples' });
      sectionFruit.add(row);
       
      row.addEventListener('click', function (e) {
          alert(JSON.stringify(e.rowData));
      });
       
      var table = Ti.UI.createTableView({
          data: [sectionFruit]
      });
       
      win.add(table);
      win.open();
      

      Expected: Clicking row should show row data.

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              kiguchi Kota Iguchi
              Reviewer:
              Gary Mathews
              Tester:
              Samir Mohammed
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-6007
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code