sortedCellIndex = -1;
sortedRowIndex = -1;
} else if (sortedCellIndex >= 0 && sortedRowIndex >= 0
&& headerTable.getRowCount() > sortedRowIndex
&& headerTable.getCellCount(sortedRowIndex) > sortedCellIndex) {
CellFormatter formatter = headerTable.getCellFormatter();
Element td = formatter.getElement(sortedRowIndex, sortedCellIndex);
applySortedColumnIndicator(td, ascending);
}
}
}
});