# How do I create structured tables with the table-field plugin?

**URL:** <https://forum.getkirby.com/t/how-do-i-create-structured-tables-with-the-table-field-plugin/28992>\
**Category:** Questions\
**Created:** [July 4, 2023, 9:59pm UTC](https://forum.getkirby.com/t/how-do-i-create-structured-tables-with-the-table-field-plugin/28992 "2023-07-04T21:59:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GB\_DESIGN](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/gb_design/32/14956_2.png) [@GB\_DESIGN](https://forum.getkirby.com/u/GB_DESIGN)\
**Post date:** [July 4, 2023, 9:59pm UTC](https://forum.getkirby.com/t/how-do-i-create-structured-tables-with-the-table-field-plugin/28992/1 "2023-07-04T21:59:25Z")

</div>

I use the **table-field** plugin from **ragi96** which only generates simple structured tables:

```auto
	<tr>
		<th>1st column</th>
		<th>2nd column</th>
		<th>3rd column</th>
	</tr>
	<tr>
		<td>Data 1</td>
		<td>Data 2</td>
		<td>Data 3</td>
	</tr>

```

However, an individual structure of the tables with `<thead>` and `<tbody>` is desired:

```auto
<thead>
	<tr>
		<th>1st column</th>
		<th>2nd column</th>
		<th>3rd column</th>
	</tr>
</thead>

<tbody>
	<tr>
		<td>Data 1</td>
		<td>Data 2</td>
		<td>Data 3</td>
	</tr>
</tbody>

```

Is this possible with the plugin, or what other solution is there for creating custom tables? It’s important for me to be able to specify the number of columns and rows in the panel, as the plugin allows. My goal is to sort records (with JavaScript) by name or price column by column.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [July 4, 2023, 10:41pm UTC](https://forum.getkirby.com/t/how-do-i-create-structured-tables-with-the-table-field-plugin/28992/2 "2023-07-04T22:41:41Z")

</div>

Are you talking about the output in the frontend? Or within the Panel?

---

<div class="post-metadata">

**Author:** ![GB\_DESIGN](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/gb_design/32/14956_2.png) [@GB\_DESIGN](https://forum.getkirby.com/u/GB_DESIGN)\
**Post date:** [July 5, 2023, 6:00am UTC](https://forum.getkirby.com/t/how-do-i-create-structured-tables-with-the-table-field-plugin/28992/3 "2023-07-05T06:00:36Z")

</div>

I mean the possibility to create tables via the panel.
