help for my search bar

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

for now I just created the structure of my search bar but nothing is happening

I do a search in an xml file and display the result in a tableview

how should I do please ?

var winSearch = Titanium.UI.createWindow({
            title: 'Search',
            backgroundColor: 'white'
        });
 
            var tabRecherche = Titanium.UI.createTab({
                icon: 'images/icons/search_on.png',
                title: 'Recherche',
                window: winSearch
        });
 
        /* barre de recherche*/
 
        var search = Titanium.UI.createSearchBar({
            barColor:'#000',
            howCancel:true,
            height:43,
            top:0
        });
 
        winSearch.add(search);

— asked 2 years ago by sabrina sabrina
2 Comments
  • you havent set your filter attribute

    — commented 2 years ago by Josh Lewis

  • thank you for your reply

    in fact I have a xml file which I know the url

    xml file that contains tag and months I hope récuéper some data.

    normally when I tappe something in the search bar I should have a table that contains images and headlines that the word correpondent Tapper in the search bar

    my xml file looks something like this

    <movies> </ movies> <title> </ title> <Photo> <Photo> ........ etc. <movies> </ movies>

    research should be done in the securities and must display the titles containing the word TAPP with the image that goes with

    thank you

    — commented 2 years ago by sabrina sabrina

Your Answer

Think you can help? Login to answer this question!