:: Forum >> Version 2 >>

Loop To Set row height to 0

I've been reading around in the forms, and have seen a few suggestions on how to do this, however none post any code.

I have a search header, and when it searches if the cell value does not equal what im looking for, to set its current row height to 0.

Any ideas?

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);
            } 
        } 
    } 
Tiffany
Wednesday, August 11, 2010



This topic is archived.

Back to support forum

Forum search