# Interactive tables within posts

**URL:** https://meta.discourse.org/t/interactive-tables-within-posts/190921
**Category:** Feature
**Created:** [May 19, 2021, 12:59pm UTC](https://meta.discourse.org/t/interactive-tables-within-posts/190921 "2021-05-19T12:59:46Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Kchalk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kchalk/32/226787_2.png) [@Kchalk](https://meta.discourse.org/u/Kchalk)
#### Post date: [May 19, 2021, 12:59pm UTC](https://meta.discourse.org/t/interactive-tables-within-posts/190921/1 "2021-05-19T12:59:46Z")

</div>

Hi community,

Are interactive tables supported within Discourse posts?

These tables have additional features such as sorting, filtering, search, pagination, etc. An example would be Tablepress but instead of a WP blog post, I would like to check if they can be inserted within a post on Discourse platform

![](https://global.discourse-cdn.com/meta/original/3X/3/c/3cb7bb5bb38a70885191fc0932c773f5c10e2ed7.gif)

My typical dataset has hundreds of entries, so having these advanced features will help my community with a much better UI when navigating the data presented in the tables

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 19, 2021, 2:57pm UTC](https://meta.discourse.org/t/interactive-tables-within-posts/190921/2 "2021-05-19T14:57:19Z")

</div>

So you want an integrated relational database? That’s an interesting notion! Is your vision that it would be the same as discourse’s database, or entirely separate?

---

<div class="post-metadata">

### Author: ![craigconstantine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/craigconstantine/32/511195_2.png) [@craigconstantine](https://meta.discourse.org/u/craigconstantine)
#### Post date: [May 19, 2021, 3:03pm UTC](https://meta.discourse.org/t/interactive-tables-within-posts/190921/3 "2021-05-19T15:03:16Z")

</div>

…isn’t he just asking for jquery’s (“UI” is it?) tables j/s plugin?

---

<div class="post-metadata">

### Author: ![Kchalk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kchalk/32/226787_2.png) [@Kchalk](https://meta.discourse.org/u/Kchalk)
#### Post date: [May 19, 2021, 3:28pm UTC](https://meta.discourse.org/t/interactive-tables-within-posts/190921/4 "2021-05-19T15:28:47Z")

</div>

Thanks Jay, it’s more of a UI like Craig mentioned

The table is inserted into a typical post, but instead of being static it has controls such as sort, search, filter within the table UI itself

> [@craigconstantine](#):
>
> jquery’s (“UI” is it?) tables j/s plugin

This gives me hope. Are there existing plugins that will enable such interactive html tables?

---

<div class="post-metadata">

### Author: ![craigconstantine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/craigconstantine/32/511195_2.png) [@craigconstantine](https://meta.discourse.org/u/craigconstantine)
#### Post date: [May 19, 2021, 4:29pm UTC](https://meta.discourse.org/t/interactive-tables-within-posts/190921/5 "2021-05-19T16:29:59Z")

</div>

I don’t know about plugins for Discourse. But this is the javascript stuff I was imagining… [Sortable | jQuery UI](https://jqueryui.com/sortable/)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [May 19, 2021, 6:34pm UTC](https://meta.discourse.org/t/interactive-tables-within-posts/190921/6 "2021-05-19T18:34:49Z")

</div>

You mean like this?

I hacked a small theme component to add TableFilter.js to Discourse here:

> **[GitHub - xfalcox/discourse-table-filter](https://github.com/xfalcox/discourse-table-filter)**
>
> Contribute to xfalcox/discourse-table-filter development by creating an account on GitHub.

You will want to add `https://unpkg.com` to your CSP script-src for it to work. This is just a proof-of-concept, but you can take it from here.
