# Displaying ElasticSearch search results in a table with customizable onClick behavior

**URL:** https://discuss.elastic.co/t/displaying-elasticsearch-search-results-in-a-table-with-customizable-onclick-behavior/278645
**Category:** Kibana
**Created:** [July 14, 2021, 11:29am UTC](https://discuss.elastic.co/t/displaying-elasticsearch-search-results-in-a-table-with-customizable-onclick-behavior/278645 "2021-07-14T11:29:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Manuel\_Pedro\_Gomez\_C](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manuel_pedro_gomez_c/32/90079_2.png) [@Manuel\_Pedro\_Gomez\_C](https://discuss.elastic.co/u/Manuel_Pedro_Gomez_C)
#### Post date: [July 14, 2021, 11:29am UTC](https://discuss.elastic.co/t/displaying-elasticsearch-search-results-in-a-table-with-customizable-onclick-behavior/278645/1 "2021-07-14T11:29:07Z")

</div>

Hello! I'm looking to present some aggregated information in the form of tables that do some custom actions when clicked on each row.  
While I was thinking that the `EuiBasicTable` component would work for my purposes, I'm stumbling figuring out how to send a query object, with filters and aggregations and such, and receive some raw data I can present and paginate through.

Should I just make API calls to elastic? Is there any plugin for this?

---

<div class="post-metadata">

### Author: ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)
#### Post date: [July 14, 2021, 2:44pm UTC](https://discuss.elastic.co/t/displaying-elasticsearch-search-results-in-a-table-with-customizable-onclick-behavior/278645/2 "2021-07-14T14:44:12Z")

</div>

Please provide more details. Are you developing a Kibana plugin? Are you embedding Kibana into your own website? Are you using EUI in your own website? Which version of Kibana?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [August 11, 2021, 2:44pm UTC](https://discuss.elastic.co/t/displaying-elasticsearch-search-results-in-a-table-with-customizable-onclick-behavior/278645/3 "2021-08-11T14:44:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
