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

MobileWeb: Alternate tableview sections show no seperators

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.4.1
    • Fix Version/s: Release 4.1.0
    • Component/s: MobileWeb
    • Labels:
    • Environment:

      Studio, CLI & SDK - 3.4.1.GA
      Alloy 1.5.1
      Chrome, Firefox, Safari, Android Browser

    • Sprint:
      2015 Sprint 07 SDK

      Description

      Problem Description

      When creating a tableview with multiple sections in mobileweb every other section does not show a seperator.

      Test Case

      app.js

      Ti.UI.backgroundColor = 'white';
      var win = Ti.UI.createWindow();
       
      var sectionFruit = Ti.UI.createTableViewSection({
      headerTitle : 'Fruit'
      });
      sectionFruit.add(Ti.UI.createTableViewRow({
      title : 'Apples'
      }));
      sectionFruit.add(Ti.UI.createTableViewRow({
      title : 'Bananas'
      }));
       
      var sectionVeg = Ti.UI.createTableViewSection({
      headerTitle : 'Vegetables'
      });
      sectionVeg.add(Ti.UI.createTableViewRow({
      title : 'Carrots'
      }));
      sectionVeg.add(Ti.UI.createTableViewRow({
      title : 'Potatoes'
      }));
       
      var sectionFish = Ti.UI.createTableViewSection({
      headerTitle : 'Fish'
      });
      sectionFish.add(Ti.UI.createTableViewRow({
      title : 'Cod'
      }));
      sectionFish.add(Ti.UI.createTableViewRow({
      title : 'Haddock'
      }));
       
      var sectionFish2 = Ti.UI.createTableViewSection({
      headerTitle : 'Fish'
      });
      sectionFish2.add(Ti.UI.createTableViewRow({
      title : 'Cod'
      }));
      sectionFish2.add(Ti.UI.createTableViewRow({
      title : 'Haddock'
      }));
       
      var table = Ti.UI.createTableView({
      data : [sectionFruit, sectionFish, sectionVeg, sectionFish2],
      separatorColor : "#000"
      });
       
      win.add(table);
      win.open(); 
      

      Expected Result

      All sections should show seperators between rows.

      Actual Result

      Alternate sections do not show seperators.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              jbuckley Jamie Buckley
              Reviewer:
              Ingo Muschenetz
            • Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration