3.2.0

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 i, rows = [], max = obj.getRowCount(); 
        for (i=0; i<max; i++){ 
            if (obj.getCellValue(0, i).toLowerCase().search(text.toLowerCase()) > -1){ 
                obj.selectRow(i);
                obj.setScrollTop(i * 18);
            } 
        } 
    }
Tiffany
August 11,

This topic is archived.

See also:


Back to support forum