Hello,

My Remote Table works great!

I have a small problem. When I click on sort column, it should point to the
1st Page. Instead, it always passes firstRow and LastRow of the current page
where you are. It should set firstRow to 0.

My RemoteTable Code

 // This function is responsible for fetching data
            _loadRowData : function(firstRow, lastRow)
            {   
                this.info ('Load remote row data for ' +  firstRow + ' to '
+ lastRow);                                
           var rpc = new qx.io.remote.Rpc(this.getServiceUrl(),
"MyRpcService"); 
                rpc.setTimeout(30000);
                rpc.setCrossDomain(true);
                
                var handler = function(result, exc) {
                             .....
                   that._onRowDataLoaded (rowData);
                };
                var rowCount = (lastRow - firstRow) + 1;                        
                var sortColumn = this.getColumnId(this.getSortColumnIndex());   
                
                rpc.callAsync(handler, "MyMehod", firstRow, rowCount, 
sortColumn,
this.isSortAscending());                                                        
             }

How do I detect "Sort Column Click"? What object should I check or override?

Thanks.
Kanugula.

-- 
View this message in context: 
http://www.nabble.com/Remote-Table-Sort-Column-Click-doesn%27t-point-to-1st-Page-tp16349693p16349693.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to