How to set a background image for a TableViewRow using jss?

You must Login before you can answer or comment on any questions.

I need to set the background image to a TableViewRow using jss. How can i do this.

I tried the following and doesnt seem to work. Please advice.

TableView.js

var row = Ti.UI.createTableViewRow({
                className : 'rowC'
            });
TableView.jss
.rowC {
    height: 60;
    left: 5;
    background-image: 'ui/images/depth2.png',
    width: '95%';
}

Your Answer

Think you can help? Login to answer this question!