doc-burger

How to connect your data to a data table

Learn how you can connect your data to a data table in Peaka and display it in your application

This article provides a step-by-step guide on how you can connect your data to a data table in Peaka, allowing you to display your data within your application.


Prerequisites

Before connecting your data to a data table, ensure that you have the necessary data source available. This may be a Peaka Table, Peaka Query, or a SaaS Connector. If you don't have the required data, you can follow these articles to create and configure your data sources:


Step-by-step Guide

Here's a step-by-step guide to connecting your data to a data table:

  1. Prepare your data: Ensure that you have the data you want to display in your data table.

  2. Access the designer: Open the Peaka Designer.

  3. Add a data table component: In the designer, add a data table component to your application.

peaka table view
  1. Select the data source: In the data table component settings, select your data source from the "Data Source" dropdown menu.

  2. Review and confirm: Your data is now connected to the data table component. You can see your data displayed in the data table.

selecting data to data table component
  1. Customize column mapping: To customize which columns are displayed, click the "Open Mapping Column" button. This will open a modal where you can select the columns you want to show.
editing column settings for data table component
  1. Apply filters: You can filter your data using Visual SQL or filters. To learn more about filtering, check out this article.
filtiring data for data table component

By following these steps, you can easily connect your data to a data table in Peaka, making it accessible and visible in your application.