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

Windows: Unable to set a footerView or headerView on a TableView after data has been set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.0
    • Fix Version/s: Release 7.0.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Ti SDK: 6.1.1.v20170614134051
      Appc Core: 6.2.2
      Appc NPM: 4.2.9
      Lumia 550 10.0
      10.0 ws-local

    • Story Points:
      5
    • Sprint:
      2017 Sprint 22 SDK, 2017 Sprint 23 SDK

      Description

      Description

      Using the code below, when adding a footerView or headerView to a TableView after the rows data has been set they will not show

      var _window = Ti.UI.createWindow();
      var v = Ti.UI.createView({
          width: Ti.UI.FILL,
          height: 50,
          backgroundColor: 'red'
      });
      var t = Ti.UI.createTableView({
          footerView: v
      });
      t.setData([{title: 'Row 1'}]);
      t.setHeaderView(Ti.UI.createView({
          width: Ti.UI.FILL,
          height: 50,
          backgroundColor: 'red'
      }));
      _window.add(t);
      _window.open();
      

      Steps to reproduce
      1. Add the above to an existing app.js
      2. Build for a windows target
      Actual

      View is not added

      Expected

      View should be added

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Gary Mathews
              Tester:
              Samir Mohammed
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code