Skip to content

Code example Filter & Pagination #111

Answered by timogasda
6be709c0 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

Unfortunately, the source code for the demos is not available at the moment, see #61.

When you have a full-page table like this, i.e., the table is first and main element of the page, you can use the full-page variant of the Table component to move it up into the content header of the page. To make this work, you have to do two things:

  1. Add variant="full-page" and stickyHeader={true} to the Table
  2. Set content="table" on your App layout

You can find an example in our pages: https://github.com/cloudscape-design/components/blob/main/pages/app-layout/with-table.page.tsx

Hope that helps! :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 6be709c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants