> For the complete documentation index, see [llms.txt](https://docs.powerpointgeneratorapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerpointgeneratorapi.com/examples/table/table-shape.md).

# Populate simple table

Tables enable you to edit tables in your template for use in your presentation.

Example below populates a dummy table shape with text.&#x20;

1. Find the shape `name` you want to update. See [here](/knowledge-base/finding-shape-names.md) to find shape names.
2. Use the `data_cells` object to populate a table shape. It is a 2-dimensions array of cell values. Each cell value can be a simple string or a text object.

Before and after

![](https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2FkUxWeP9FxYVhIZBlRg9u%2Ftables.JPG?alt=media\&token=1f3fbe77-9aa7-4df5-ad83-2c56e2178f64)

Template Presentation

{% file src="/files/-Mj9ytUn5Lql2iAovmdT" %}

JSON Payload

```javascript
{
  "presentation": {
  "template": "slides_as_template_table.pptx",
  "export_version": "Pptx2010",
    "slides": [
      {
        "type": "slide",
        "slide_index": 2,
        "shapes": [
          {
            "name": "Table 2",
            "data_cells": [
              [
                "Charts",
                "Tables",
                "Pictures",
                "Textboxes",
                "Tagging",
                "Styling"
              ],
              [
                "Insert new chart objects",
                "Insert new table objects",
                "Insert new picture objects",
                "Input strings into text boxes",
                "Use powerful tagging to replace strings efficiently",
                "Use you branded and styled PowerPoint decks as template" 
              ],
              [
                "Configure any chart properties",
                "Configure any table properties",
                "Replace existing pictures with new pictures",
                "Or change any textbox setting and create new ones",
                null,
                "or style your presentation via API"
              ]
            ]
          }
        ]
      }
    ]
  }
}
```
