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:
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 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);
}
}
}
August 11,