To cause error: scroll down at least one row, edit a cell in Col2, and hit Tab
Original report
);
}
const filterColumnsGen = ([col, row]: Item): GridCell => ({
allowOverlay: true,
kind: GridCellKind.Text,
data: `${col} - ${row}`,
displayData: `${col} - ${row}`,
});
const filteringColumns = [
{ title: "Col AAAA", width: 120 },
{ title: "Col AAA", width: 120 },
{ title: "Col AA", width: 120 },
{ title: "Col A", width: 120 },
{ title: "Col", width: 120 },
];
export function FilterColumns() {
const [searchText, setSearchText] = useState("");
const cols = useMemo(() => {
if (searchText === "") {
return filteringColumns;
}
return filteringColumns.filter(c => c.title.toLowerCase().includes(searchText.toLowerCase()));
}, [searchText]);
const onInputChange = (e: React.ChangeEvent