Skip to content

Commit 6ced075

Browse files
committed
Revert example
1 parent 38e8d2f commit 6ced075

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

website/routes/ContextMenu.tsx

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ function createRows(): Row[] {
3636
for (let i = 1; i < 1000; i++) {
3737
rows.push({
3838
id: i,
39-
col2: '111111111111111111111111111111111111ssssssssssssssssssssssssssssssssssssssss1',
4039
product: faker.commerce.productName(),
4140
price: faker.commerce.price()
4241
});
@@ -46,20 +45,11 @@ function createRows(): Row[] {
4645
}
4746

4847
const columns: readonly Column<Row>[] = [
49-
{
50-
key: 'col1',
51-
name: 'col1',
52-
width: 100
53-
},
54-
{
55-
key: 'col2',
56-
name: 'col2',
57-
minWidth: 100,
58-
width: 200,
59-
maxWidth: 400,
60-
resizable: true
61-
}
48+
{ key: 'id', name: 'ID' },
49+
{ key: 'product', name: 'Product' },
50+
{ key: 'price', name: 'Price' }
6251
];
52+
6353
function rowKeyGetter(row: Row) {
6454
return row.id;
6555
}

0 commit comments

Comments
 (0)