Skip to content

Commit 3ce194a

Browse files
committed
update
1 parent 5dbc718 commit 3ce194a

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

examples/src/pages/tests/horizontal-layout/test.page.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,15 @@ const columns: InfiniteTablePropColumns<Developer> = {
4444
type: 'number',
4545
defaultWidth: 300,
4646
style: {
47-
background: 'rgba(55, 99, 171, 0.3)',
47+
background: 'rgba(55, 99, 171, 0.5)',
48+
},
49+
},
50+
firstName: {
51+
field: 'firstName',
52+
style: {
53+
background: 'rgb(111 255 72 / 48%)',
4854
},
4955
},
50-
// firstName: {
51-
// field: 'firstName',
52-
// },
5356
// age: {
5457
// field: 'age',
5558
// type: 'number',
@@ -62,10 +65,10 @@ const columns: InfiniteTablePropColumns<Developer> = {
6265

6366
const domProps = {
6467
// style: { height: 420 /*30px header, 420 body*/, width: 230 },
65-
style: { height: '50vh' /*30px header, 420 body*/, width: '80vw' },
68+
style: { height: '50vh' /*30px header, 420 body*/, width: '100vw' },
6669
};
6770

68-
const data = Array.from({ length: 100 }, (_, i) => ({
71+
const data = Array.from({ length: 1000 }, (_, i) => ({
6972
id: i,
7073
preferredLanguage: `Lang ${i}`,
7174
age: i * 10,

0 commit comments

Comments
 (0)