# Import Statements for Tables in Elastic UI

**URL:** <https://discuss.elastic.co/t/import-statements-for-tables-in-elastic-ui/181364>\
**Category:** Kibana\
**Created:** [May 16, 2019, 10:09am UTC](https://discuss.elastic.co/t/import-statements-for-tables-in-elastic-ui/181364 "2019-05-16T10:09:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [May 16, 2019, 10:26am UTC](https://discuss.elastic.co/t/import-statements-for-tables-in-elastic-ui/181364/2 "2019-05-16T10:26:54Z")

</div>

> [@dkelsen](#):
>
> I'm confused also how to use createDataStore

I guess it's just [data source](https://github.com/elastic/eui/blob/75fee43023fbe7ed32cf437cd711322d4228a7e0/src-docs/src/views/tables/data_store.js) for the demo website purposes only. Same for `formatDate`.

You're supposed to fetch your own data and pass it as an `items` property of the table component.

Best,  
Oleg

---

_[View the full topic](https://discuss.elastic.co/t/import-statements-for-tables-in-elastic-ui/181364)._
