2014년 11월 28일 금요일

Filter Bar in List View does not seem to work even with Selection...


I see a similar issue already reported which was in debate as how to implement it..
So, temporarily the suggestion was to use the 'Selection' instead of the 'Selection Index' and to handle any indexing internally... So far it was ok even though it is not acceptable.

Now with the new AI2 release it seems that it was also broken..
In the previous build suppose I have a list: A,B,C,D,E, and I enter B as my filter text and I select that B that comes as the 1st, it used to give an 'Selection Index' of 1 (not 2), but the Selection used to be 'B'.
But now in the new latest AI2, when I select B, it gives A as the 'Selection' and 1 as the 'Selection Inde'x. So, the Filter Bar is completely useless it seems now!
Do we have any alternative?

--
we already had a discussion about that here: Getting the true SelectionIndex when using the FilterBar in a ListPicker
currently you have to ignore the selection index if you use a filter in a listpicker or listview
as workaround you can use the listview selection together with the index in list block, but this works only, if there are no duplicates in the list...

btw. my jQuery Mobile workaround gives you the correct selection index back after filtering the list http://puravidaapps.com/listview.php
Another Listpicker alternative with App Inventor and jQuery Mobile including a Search Filter!

--

댓글 없음:

댓글 쓰기