matrix search fixes and performance improvements
This commit is contained in:
parent
c1155d9ab9
commit
d1680cf867
2 changed files with 28 additions and 23 deletions
|
|
@ -37,16 +37,11 @@ YAHOO.util.Event.addListener(window, "load", function() {
|
|||
var myDataTable = new YAHOO.widget.DataTable("compareForm", myColumnDefs,
|
||||
this.myDataSource, {initialRequest:uri});
|
||||
|
||||
this.myDataSource.doBeforeParseData = function (oRequest, oFullResponse) {
|
||||
myDataTable.getRecordSet().reset();
|
||||
return oFullResponse;
|
||||
}
|
||||
var myDataSource = this.myDataSource;
|
||||
|
||||
var myCallback = function() {
|
||||
myDataTable.getRecordSet().reset();
|
||||
this.set("sortedBy", null);
|
||||
this.onDataReturnAppendRows.apply(this,arguments);
|
||||
this.set("sortedBy", null);
|
||||
this.onDataReturnAppendRows.apply(this,arguments);
|
||||
compareFormButton();
|
||||
};
|
||||
|
||||
|
|
@ -66,6 +61,7 @@ YAHOO.util.Event.addListener(window, "load", function() {
|
|||
}
|
||||
myDataTable.getRecordSet().reset();
|
||||
myDataTable.refreshView();
|
||||
myDataTable.showTableMessage('Loading...');
|
||||
|
||||
myDataSource.sendRequest(newUri,callback2);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue