1. Learn
  2. /
  3. Courses
  4. /
  5. Building Dashboards with Dash and Plotly

Connected

Exercise

Paginating a key stats table

The key stats table created in the previous lesson was a great addition to the analytical toolkit of the global e-commerce company. However, it was far too long!

Let's fix that using Dash AG Grid's built-in pagination options. This will greatly enhance the usability of the app and allow users to explore different sections of the data as they require.

Instructions

100 XP
  • Create a Dash AG Grid object called grid using the AgGrid function below line 21.
  • Turn on pagination for the grid by setting the pagination parameter below line 25.
  • Limit each page to show 7 rows by setting the paginationPageSize parameter below line 28.