:: Forum >> Version 2 >>

Sort Column Break Searching Column

I have a grid that has a text box as a 2nd header.
If i dont sort the column, and search, it works fine. However, if i sort the column, then search, the indecdes of the columns are messed up.

Any ideas on how to fix this?

Here is my search function:
var first_found 0;
    
input1.onControlValidated = function(text){
        
        var 
irows = [], max obj.getRowCount(); 
        for (
i=0i<maxi++){ 
            if (
obj.getCellValue(0i).toLowerCase().search(text.toLowerCase()) > -1){ 
                
obj.selectRow(i);
                
obj.setScrollTop(18);
            } 
        } 
    }
 
Wednesday, August 11, 2010



This topic is archived.

Back to support forum

Forum search