Proper support for lists with search filter and dividers#1139
Conversation
|
merged! As a quick side note I moved some of the variable names to camel case which is the project convention. Thanks! |
|
Great, thank you :) Sorry for the camel case. Long day coding ruby and forgot that change. I'll be more careful the next time :) BTW, just realised it'll probably be good to have another test case where we check that the shown list dividers correspond to the shown "buckets". We need to make sure we have a failing test if somebody changes the for to work in order. I'll send the test today :) |
|
i want to be able to apply the list filter box to list items AND the content of list dividers. i put grouped "header" info into the divider and as i can't search on the divider, i am having to replicate the same data in each list item. i'd like to be able to sort the following list of universities (as an example) by the city they are in: CHICAGO BOSTON is there a way to switch this behaviour on? thanks! mahesh |
|
There isn't a way to do this with the library as it stands, but you're certainly welcome to add a feature request to the wiki page. |
|
how do i do that, request a feature? thx, Mahesh Viswanathan On Wed, Oct 26, 2011 at 2:13 AM, John Bender <
|
|
I went ahead and added it: https://github.com/jquery/jquery-mobile/wiki/Feature-Requests Under listivew |
|
thank you! Mahesh Viswanathan On Wed, Oct 26, 2011 at 1:12 PM, John Bender <
|
Right now search filters apply also to dividers.
This commit changes the search filter implementation to ignore dividers and adds some logic to hide dividers without any shown rows.