Skip to content

Commit

Permalink
[REVERT] Update demo to test noninteractive headers with scrolling co…
Browse files Browse the repository at this point in the history
…ntent

- see http://localhost:8030/#/tabular-content/data-grid-focus
  • Loading branch information
cee-chen committed Jan 11, 2022
1 parent c06db86 commit 7f031ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src-docs/src/views/datagrid/focus.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {

const data = [];

for (let i = 0; i < 10; i++) {
for (let i = 0; i < 25; i++) {
data.push([
<span>{fake('{{name.firstName}}')}</span>,
<span>{fake('{{name.firstName}}')}</span>,
Expand Down Expand Up @@ -214,7 +214,7 @@ export default () => {
);

const [pagination, setPagination] = useState({
pageSize: 4,
pageSize: 20,
pageIndex: 0,
pageSizeOptions: [4],
});
Expand Down Expand Up @@ -250,6 +250,7 @@ export default () => {
onChangeItemsPerPage,
onChangePage,
}}
height={300}
/>
</>
);
Expand Down

0 comments on commit 7f031ac

Please sign in to comment.