# How to create table in a panel using eto forms?

**URL:** <https://discourse.mcneel.com/t/how-to-create-table-in-a-panel-using-eto-forms/83358>\
**Category:** Rhino Developer\
**Created:** [May 16, 2019, 11:38am UTC](https://discourse.mcneel.com/t/how-to-create-table-in-a-panel-using-eto-forms/83358 "2019-05-16T11:38:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jessen.ch](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jessen.ch/32/544445_2.png) [@jessen.ch](https://discourse.mcneel.com/u/jessen.ch)\
**Post date:** [May 16, 2019, 11:38am UTC](https://discourse.mcneel.com/t/how-to-create-table-in-a-panel-using-eto-forms/83358/1 "2019-05-16T11:38:50Z")

</div>

Hello,

I wonder how to create a table layout in a panel with custom styles using eto forms, like the native property panel looks:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/3/c/3cfaf064cf793d04bc0d556266c608e7a50d7784.png)

As shown above in the property panel, each cell has a border and the buttons are full width of the cell. The table row also takes the full width of the panel.

I tried to replicate that layout with the eto table layout, which works as a table structure, but just doesn’t look like a table.

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/d/5/d5c7d19f6b66c5c362ad91740d660c32975c115c.png)

My code is like this:

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/1/c/1ce516ab5374e82739e34659216ac28e632a3fdd.png)

Could anyone provide an example of achieving a panel which looks like property panel?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Trav](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/trav/32/681734_2.png) [@Trav](https://discourse.mcneel.com/u/Trav)\
**Post date:** [May 16, 2019, 3:13pm UTC](https://discourse.mcneel.com/t/how-to-create-table-in-a-panel-using-eto-forms/83358/2 "2019-05-16T15:13:38Z")

</div>

Have a look at the Eto GridView control.

Example

> **[mcneel/RhinoUserText](https://github.com/mcneel/RhinoUserText)**
>
> Gives UI for Doc Strings and Attribute Strings. Contribute to mcneel/RhinoUserText development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![jessen.ch](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jessen.ch/32/544445_2.png) [@jessen.ch](https://discourse.mcneel.com/u/jessen.ch)\
**Post date:** [May 17, 2019, 7:36am UTC](https://discourse.mcneel.com/t/how-to-create-table-in-a-panel-using-eto-forms/83358/3 "2019-05-17T07:36:25Z")

</div>

Hi Trav,

Looks like this is what I need. Thanks a lot!
