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

Windows: Adding a searchbar to a tableview or listview search property should also add it to the window

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.0
    • Fix Version/s: Release 6.1.0
    • Component/s: Windows
    • Environment:

      OS: Microsoft Windows 10 Pro 10.0.14393
      Appc core: 6.0.0-69
      Appc NPM: 4.2.8-9
      Ti SDK: 6.0.0.v20161107075927

    • Story Points:
      5
    • Sprint:
      2017 Sprint 02 SDK

      Description

      Description

      When setting a searchbar to the search property of a tableview or a listview Android and iOS will add the searchbar to the view for a user.

      var _window = Ti.UI.createWindow();
      var searchBar = Ti.UI.createSearchBar({
      });
       
      var tableView = Ti.UI.createTableView({
          search: searchBar,
          data: [{title: 'Test1'}, {title: 'Test2'}]
      });
      _window.add(tableView);
      _window.open();
      

      Steps to reproduce
      1. Add the above code to an existing app.js
      2. Build for Windows platform
      Actual result

      Searchview is not added to the view unless a developer explicitly does so

      Expected result

      Searchview should be added to the view when added to a tableview/listview

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration