Skip to content

Commit 7f031ac

Browse files
committed
[REVERT] Update demo to test noninteractive headers with scrolling content
- see http://localhost:8030/#/tabular-content/data-grid-focus
1 parent c06db86 commit 7f031ac

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src-docs/src/views/datagrid/focus.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717

1818
const data = [];
1919

20-
for (let i = 0; i < 10; i++) {
20+
for (let i = 0; i < 25; i++) {
2121
data.push([
2222
<span>{fake('{{name.firstName}}')}</span>,
2323
<span>{fake('{{name.firstName}}')}</span>,
@@ -214,7 +214,7 @@ export default () => {
214214
);
215215

216216
const [pagination, setPagination] = useState({
217-
pageSize: 4,
217+
pageSize: 20,
218218
pageIndex: 0,
219219
pageSizeOptions: [4],
220220
});
@@ -250,6 +250,7 @@ export default () => {
250250
onChangeItemsPerPage,
251251
onChangePage,
252252
}}
253+
height={300}
253254
/>
254255
</>
255256
);

0 commit comments

Comments
 (0)