kendoAutoComplete with Treeview structure data in jQuery

80 Views Asked by At

I want to achieve kendoAutoComplete with Treeview structure data. kendoDropDownTree works properly but I need the behavior exactly like kendoAutoComplete. I want to type in input control and value should be filtered.

kendoAutoComplete works fine with single value collection not with tree view structure.

Below is my sample datasource:

[
                {
                    "text": "Furniture", expanded: true, "items": [
                        { "text": "Tables & Chairs" },
                        { "text": "Sofas" },
                        { "text": "Occasional Furniture" }
                    ]
                },
                {
                    "text": "Decor", "items": [
                        { "text": "Bed Linen" },
                        { "text": "Curtains & Blinds" },
                        { "text": "Carpets" }
                    ]
                }
            ]

It would be helpful if somebody suggest how to proceed on this.

0

There are 0 best solutions below