Events.postEvent(new CellMouseEvent(type, comp, shx, shy, key, sheet, row, col, mx, my));
}
}
private void processFilter (int row, int col, int field, Worksheet worksheet, Spreadsheet spreadsheet) {
final AutoFilter autoFilter = worksheet.getAutoFilter();
final FilterColumn filterColumn = autoFilter.getFilterColumn(field - 1);
final String rangeAddr = autoFilter.getRangeAddress().formatAsString();
final Range range = Ranges.range(worksheet, rangeAddr);
spreadsheet.smartUpdate("autoFilterPopup",
convertFilterInfoToJSON(row, col, field, rangeAddr, scanRows(field, filterColumn, range, worksheet)));
}