> For the complete documentation index, see [llms.txt](https://docs.flightwatching.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flightwatching.com/user-manual/designer-user-manual/general-conf/configuration/event-tables.md).

# Event tables

To get to the Event Tables, go from *General Configuration* to *Event tables*:

<div><figure><img src="https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LucrvGdSn3RONbIcfqh%2Fuploads%2FrSNIwFHwAKebjqKvBOn6%2FScreenshot%202024-01-23%20at%2010.38.45.png?alt=media&amp;token=8bf2e697-b89f-4e45-8f65-aacab4fcb4cb" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LucrvGdSn3RONbIcfqh%2Fuploads%2Foyol88K8eWQBKXSWcmz9%2FScreenshot%202024-01-24%20at%2016.17.22.png?alt=media&amp;token=34df1f6d-44a0-432a-b34e-9aaa9257f3e4" alt="" width="375"><figcaption><p>Event Tables</p></figcaption></figure></div>

## Add EventTable

From the *Event tables* view, click on the  *Add EventTableBundle* button situated at the top right corner:

<figure><img src="https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LucrvGdSn3RONbIcfqh%2Fuploads%2Foyol88K8eWQBKXSWcmz9%2FScreenshot%202024-01-24%20at%2016.17.22.png?alt=media&amp;token=34df1f6d-44a0-432a-b34e-9aaa9257f3e4" alt="" width="375"><figcaption></figcaption></figure>

The editor for the new EventTableBundle will show up. Fill in the required information:

<div><figure><img src="https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LucrvGdSn3RONbIcfqh%2Fuploads%2F5cokavtoMeZQ8A5fp2qO%2FScreenshot%202024-01-24%20at%2016.21.55.png?alt=media&amp;token=b016a3d8-e90a-42da-947d-158201de0cb1" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LucrvGdSn3RONbIcfqh%2Fuploads%2FUpxzX5fiSC98M27BGv0p%2FScreenshot%202024-01-24%20at%2016.24.47.png?alt=media&amp;token=06078ec7-fb22-40bb-90f7-e9a7617ea17a" alt="" width="375"><figcaption></figcaption></figure></div>

* ***coolname*** - (required) the name of the Event Table *(ex: Event Table Testing*)
* ***JSON*** - (required). The code is the Event Table! &#x20;

If the code written in JSON is correct, the EvenTableBundle could be saved. If there is a problem in the code - the 'red X' will show on the left side of the line that should be correct:

<figure><img src="https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LucrvGdSn3RONbIcfqh%2Fuploads%2FV81QBqswV209UQMJRDG6%2FScreenshot%202024-01-24%20at%2016.31.41.png?alt=media&amp;token=87989833-c4f8-4142-a2f5-b06b18716a72" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
*NOTE: To learn how to write the JSON code, go to the* [*JSON structure*](/user-manual/designer-user-manual/general-conf/configuration/event-tables/tables/json-structure.md)*. All the elements are explained there, along with an example.*
{% endhint %}

* ***trashed*** - disregard/leave empty. This is to be filled in by ADMIN.
* ***plugin*** - (required). This is to be filled in by ADMIN. (ex. *fw\.demo*)&#x20;
* ***componentXid***  - (required). This is to be filled in by ADMIN. (ex. *testing\_table*)

Once all the errors from JSON are corrected,  and the both *plugin* and *componentXid* are set, the new buttons shows up and the possibility to save the EvenTable appears.&#x20;

<figure><img src="https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LucrvGdSn3RONbIcfqh%2Fuploads%2Fmb80Qx0DJ5geHTeUdYE6%2FScreenshot%202024-01-24%20at%2016.41.13.png?alt=media&amp;token=89f5167c-d40c-42d9-980f-87fac3e257b8" alt="" width="375"><figcaption></figcaption></figure>

When the EventTableBundle is created - you know it:&#x20;

<figure><img src="https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LucrvGdSn3RONbIcfqh%2Fuploads%2FEjIesPtkCymA1vYauEqS%2FScreenshot%202024-01-24%20at%2016.36.46.png?alt=media&amp;token=8db24b7a-9b4d-49b4-8bca-ac6523e85ecf" alt="" width="242"><figcaption></figcaption></figure>

## Visualize EventTable

EventTable is accessible through the URL. From the URL of the basic page, add the '*/table/pluginName-componentXidName?count=50\&live=false*' . We limit the number of events to 50 (*count=50*) and the real time display to false (*live=false*). In our example it could be: *<https://yourPage.flightwatching.com/wilco/#/table/fw.demo-testing\\_table?count=50\\&live=false>*

<figure><img src="https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LucrvGdSn3RONbIcfqh%2Fuploads%2FjuXhZrZyWiCAKZ5UQzkF%2FScreenshot%202024-01-24%20at%2016.46.01.png?alt=media&amp;token=8fb58a77-3e16-4e21-84fb-0a1a1fdcf685" alt="" width="375"><figcaption><p>EventTable</p></figcaption></figure>

## Edit EvenTable

In order to edit any EventTable, go from *General Configuration* to *Event Tables* and choose the table to edit. Click on table name to enter to its editor:

<figure><img src="https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LucrvGdSn3RONbIcfqh%2Fuploads%2Ft2duQdjyrxYMWY2X4P0j%2FScreenshot%202024-01-24%20at%2016.48.51.png?alt=media&amp;token=99d06766-146a-4f34-a57c-0a998e3910a1" alt="" width="375"><figcaption></figcaption></figure>

All the fields could be modified.

{% hint style="warning" %}
*Note: Pay attention to the plugin and componentXid. Those values are the references that are used to* [*visualize the table.* ](#visualize-eventtable)
{% endhint %}

In order to modify the JSON, you could either work directly on the editor, or copy the content to the application or notepad to modify it. See how to do it [here](/user-manual/designer-user-manual/general-conf/configuration/event-tables/tables.md).

## Delete EventTable

In order to proceed with the deletion,  click on the *Delete Doc* button situated on the top right side of the window.
