# Tabla Smart

### Tipo de widget

En el esquema se representa como

> "widget\_type": "POWER\_TABLE\_FIELD"

### Lectura

A la hora de leer este tipo de widget, obtenemos un valor de tipo array de array de strings.

Cada item del array indica los datos de la fila de la tabla, luego cada item del array interno contiene los datos de cada una de las columnas.&#x20;

Sin importar el tipo de columna configurada (Texto, Numero o Lista), los datos son siempre de tipo string, para poder mantener compatibilidad con versiones anteriores. Por lo cual será cuestión del integrador entender que la columna 3 es de tipo number (para este caso de ejemplo)&#x20;

```json
{
    ...
    "FW9ilaip": [
        [
            "Texto de la columna 1",
            "Opcion 1",
            "2.232"
        ],
        [
            "Otro texto",
            "Opcion 2",
            "-0.232"
        ]
    ],
    ...
}
```

### Escritura

Cuando insertamos o modificamos un formulario, en el field correspondiente a este widget, debemos colocar un array de array de strings, basado en los mismos criterios que se mencionan arriba. También se puede enviar un array vacio \[] indicando que no hay filas en al tabla

```json
    ...
    "FW9ilaip": [ ["Texto de la columna 1", "Opcion 1", "2.232"], ["Otro texto", "Opcion 2", "-0.232"]],
    ...
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.api.persat.com.ar/modulos/formularios-digitales/tipos-de-widgets/tabla-smart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
