# Elastic UI Framework Basic Tables Pagination

**URL:** https://discuss.elastic.co/t/elastic-ui-framework-basic-tables-pagination/187236
**Category:** Kibana
**Created:** [June 25, 2019, 6:34am UTC](https://discuss.elastic.co/t/elastic-ui-framework-basic-tables-pagination/187236 "2019-06-25T06:34:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rndrev](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@rndrev](https://discuss.elastic.co/u/rndrev)
#### Post date: [June 25, 2019, 6:34am UTC](https://discuss.elastic.co/t/elastic-ui-framework-basic-tables-pagination/187236/1 "2019-06-25T06:34:39Z")

</div>

I am trying to use Pagination on my table.js (using source code from the examples). However, when I try to click on "Rows per page: " the page crashes with:

Uncaught Invariant Violation: React.Children.only expected to receive a single React element child. (webpack://%5Bname%5D/./node\_modules/react/cjs/react.development.js?:95)

```auto
Version: 6.7.1
Build: 9007199254740991
Error: Uncaught Invariant Violation: React.Children.only expected to receive a single React element child. (webpack://%5Bname%5D/./node_modules/react/cjs/react.development.js?:95)
    at push../src/ui/public/notify/notify.js.window.onerror (http://localhost:5601/nkz/bundles/commons.bundle.js:123494:32)
    at Object.invokeGuardedCallbackDev (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:98489:16)
    at invokeGuardedCallback (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:98546:31)
    at replayUnitOfWork (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:116868:5)
    at renderRoot (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:117758:13)
    at performWorkOnRoot (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118632:7)
    at performWork (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118544:7)
    at performSyncWork (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118518:3)
    at interactiveUpdates$1 (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118785:7)
    at interactiveUpdates (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:100460:10)

```

Uncaught Invariant Violation: React.Children.only expected to receive a single React element child. ([http://localhost:5601/nkz/bundles/fsm\_plugin.bundle.js:118602](http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118602))

```auto
Version: 6.7.1
Build: 9007199254740991
Error: Uncaught Invariant Violation: React.Children.only expected to receive a single React element child. (http://localhost:5601/nkz/bundles/fsm_plugin.bundle.js:118602)
    at push../src/ui/public/notify/notify.js.window.onerror (http://localhost:5601/nkz/bundles/commons.bundle.js:123494:32)

```

---

<div class="post-metadata">

### Author: ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)
#### Post date: [June 26, 2019, 8:22pm UTC](https://discuss.elastic.co/t/elastic-ui-framework-basic-tables-pagination/187236/2 "2019-06-26T20:22:47Z")

</div>

Are you creating a plugin?

There is insufficient info for me to determine what is wrong. Is it possible for you to create a shareable demonstration of the problem?

---

<div class="post-metadata">

### Author: ![rndrev](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@rndrev](https://discuss.elastic.co/u/rndrev)
#### Post date: [June 27, 2019, 5:49am UTC](https://discuss.elastic.co/t/elastic-ui-framework-basic-tables-pagination/187236/3 "2019-06-27T05:49:49Z")

</div>

Yes, you can see my rudimentary repository here (sorry I'm still learning so my program is a mish-mash between examples and my own code):

[https://github.com/rndrev/fsm\_plugin](https://github.com/rndrev/fsm_plugin)

The table is returned in main.js as `<Table />`

---

<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: [July 25, 2019, 5:49am UTC](https://discuss.elastic.co/t/elastic-ui-framework-basic-tables-pagination/187236/4 "2019-07-25T05:49:58Z")

</div>

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