OK, so I managed to do it this way:

      list.addListener("changeSelection", function(e)
        {
          var row = e.getData();

          var renderedItems = qx.bom.Selector.query(".list-item",
list.getContentElement());

          for (var i = 0, l = renderedItems.length; i < l; i++)
          {
            var item = renderedItems[i];
            if (i === row)
            {
              qx.bom.element.Class.add(item, "active");
            }
            else
            {
              qx.bom.element.Class.remove(item, "active");
            }
          }
        });



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Mobile-List-selected-item-colored-track-tp7587318p7587351.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to