Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

listview with search bar - how to get no of records during search?

$
0
0

Hi

I had integrated search bar with listview, and its working fine. it is showing me proper records when i search from listview.

here is my problem

I am having one label which shows current status of listview Ex : - "showing 20 of 30 records"

currently listview having 20 record (Having paging functionality so from total 30 records only 20 will be there in 1st view), now when i search from that 20 records, i want to update my label as per the result showing in listview

Ex - showing 5 of 20 records

So how can i get no of records showing in listview during search.

listview -- > section --> item.length property always shows me default no of items which is bind here it is 20.

It urgent.I am using alloy framework.

thanks in advance :)


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>