i load al list like this

            getList : function() {
                try {
                    //this.tableModel1.resetHiddenRows();
                    alert("Anzahl: " + this.tableModel1.getRowCount());
                    
this.tableModel1.removeRows(0,(this.tableModel1.getRowCount()));
                    var req = new 
qx.io.remote.Request(makebiz.system.Globals.processorURL, "POST", 
"application/json");
                    req.setRequestHeader("Content-Type", 
"application/x-www-form-urlencoded");
                    req.setAsynchronous(false);
                    req.setTimeout(5000);
                    req.setParameter("m", "termineundaufgabenarchiv");
                    req.setParameter("c", "getTerminkalender");
                    
alert(this.statusSelectBox1.getSelection()[0].getUserData("ID"));
                    req.setParameter("status", 
this.statusSelectBox1.getSelection()[0].getUserData("ID"));
                    req.addListener("completed", function(e) {
                        var j = e.getContent();
                        if(!isNaN(j["USERID"]) && j["result"] == "OK") {
                            this.tableModel1.addRows(j["data"]);
                            this.updateListFilter();
                            }
                        },this);
                    req.addListener("timeout", function(e) {
                        var j = e.getContent();
                        alert("Timeout Error: "+ j);
                        },this);
                    req.send(); // Send Request
                    }
                catch (ex) {
                    alert("Verbindungsprobleme mit dem Server: " + 
ex.toString());
                    }  
                },

and if teh status changed, the list is complete reloaded. when i change 
otehr filters only  a filter is added

            updateListFilter : function() {
                var searchText1 = this.searchText1.getValue();
                this.editButton1.setEnabled(false);
                this.tableModel1.resetHiddenRows();

                if(searchText1 != "") {
                    this.tableModel1.addNotRegex(searchText1,"Bezeichnung")
                    this.tableModel1.applyFilters();
                    }   
                }   

when i change the status, the list is relaoded  without problems. when 
i  select anotehr filetr and thsi is added like the second code and  
when i then  change the status, the loaded data is alwys the same.

how can i remove the filetr and how can i  clear a table from all row data?

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to