# Failure to create my first UI table

**URL:** <https://discourse.nodered.org/t/failure-to-create-my-first-ui-table/46087>\
**Category:** Dashboard\
**Created:** [22 May 2021 11:02 UTC](https://discourse.nodered.org/t/failure-to-create-my-first-ui-table/46087 "2021-05-22T11:02:28Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [22 May 2021 22:15 UTC](https://discourse.nodered.org/t/failure-to-create-my-first-ui-table/46087/3 "2021-05-22T22:15:16Z")

</div>

Hi Bart.

1. The column widths is not pixel perfect. I think it don’t take the (possible) vertical scrollbar into account. Try to play with the percentages or choose pixels with a little bit left over for the scrollbar.
2. the [default cellClick function](https://discourse.nodered.org/t/ui-table-supports-ui-control/18870/24) should give you column and row information, as far as I remember or You have to write your own `cellClick`callback function for the column of your choice only. Callback functions can be sent via a `msg.ui_control` Message. There are several treads and examples how to do that perhaps this [one and the following messages](https://discourse.nodered.org/t/ui-table-supports-ui-control/18870/17)

---

_[View the full topic](https://discourse.nodered.org/t/failure-to-create-my-first-ui-table/46087)._
