Hello, we played around with Qooxdoo for some time and the more we work with it the more we get enthusiastic. However, we are at the beginning of climbing a steep mountain and one of step is solving the following problem:
From the demo browser, we do have the "finder" example running (two lists with hierarchical organized data) and want to add the "Search as you type" functionality on the first (and possibly on the second) list. The part with the both lists works very well : // create the controllers and set the data for the label var listController1 = new qx.data.controller.List(null, list1); var listController2 = new qx.data.controller.List(null, list2); listController1.setLabelPath("name"); listController2.setLabelPath("name"); // create the data store and connect the controllers var store = new qx.data.store.Json("testapp/finder.json"); store.bind("model.files", listController1, "model"); listController1.bind("selection[0].files", listController2, "model"); The "Search As You Type" part by itself also works quite well : var filterData = new qx.data.Array(["User", "Developer", "Library", "Programms", "System"]); // create the list, the controller and the filter, set filter var filterList = new qx.ui.form.List(); this.getRoot().add(filterList); var filterController = new qx.data.controller.List(filterData, filterList); var filterObj = new testapp.SearchAsYouTypeFilter(filterController); // set filter filterController.setDelegate(filterObj); // create the textfield and bind it to the controller var filterTextfield = new qx.ui.form.TextField(); filterTextfield.setLiveUpdate(true); this.getRoot().add(filterTextfield); filterTextfield.bind("changeValue", filterObj, "searchString"); But how do I combine these, that is: filter "list1" (and not "filterList") by typing some text in "filtertextfield" ? Any hint (or, even better) code snippet is greatly appreciated. Regards, A. Weber Penplan Consulting GmbH ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel