• Filter categorized column

    By Dejan Ljubič 1 decade ago

    Hi, I am looking for a way to filter categorized view, by the categorized column in a data view with an edit box.
    I have already add the edit box and the onkeyup event. The problem is that the view returns only the first
    document that match with the enter key instead of all that start with the typed chars. 

    So if there are 10 document in the database like

    air, bag, cat, day, deck, dog, domino, feature, request, review

    and i type the "d" in the edit box it returns only day, if I add a second char "do"  i get the valu dog instead od

    dog and domino.

    The onkeyup event put the string in sessionScope.var

    On the data view I set the key property on sessionScope.var.
     

    I tried to set the startKey propery too. In this case it works beter but in the example below returns all document
    that starts wiith "d" plus all document that starts with other letters above "d".

    Is this a bug? Because if the view is not categorized it works well.

     

    Regards, Dejan