# Table View Form Left Justified

**URL:** <https://forum.servoy.com/t/table-view-form-left-justified/11322>\
**Category:** Classic Servoy\
**Created:** [October 24, 2009, 1:22pm UTC](https://forum.servoy.com/t/table-view-form-left-justified/11322 "2009-10-24T13:22:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Veges](https://avatars.discourse-cdn.com/v4/letter/v/b77776/32.png) [@Veges](https://forum.servoy.com/u/Veges)\
**Post date:** [October 24, 2009, 1:22pm UTC](https://forum.servoy.com/t/table-view-form-left-justified/11322/1 "2009-10-24T13:22:44Z")

</div>

Is there a way to ensure a form defined as Table View you can get the rows displayed in the centre of the form as opposed to starting on the left edge ?

For example I have a Header much wider than the rows displayed leaving alot of empty space to the right of the form as the data displays from the left edge of the form.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [October 24, 2009, 3:23pm UTC](https://forum.servoy.com/t/table-view-form-left-justified/11322/2 "2009-10-24T15:23:39Z")

</div>

Hi,

You need to put a Left and Right anchor on the field you want to resize with the with of the form.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Veges](https://avatars.discourse-cdn.com/v4/letter/v/b77776/32.png) [@Veges](https://forum.servoy.com/u/Veges)\
**Post date:** [October 25, 2009, 3:12am UTC](https://forum.servoy.com/t/table-view-form-left-justified/11322/3 "2009-10-25T03:12:21Z")

</div>

Tried changing the anchors on all fields in the Body where the Table view data is displayed to various anchor combinations and not one change had any affect.

Its not about resizing but when the form loads the data is displayed from the left edge of the form and not in the centre of the form or at a position I’d like. For example I have 4 small fields which I’d like to be displayed in a table (table view) within the centre of the Body of the form.

The form has a Header, Body and Footer.

With the list view the fields are displayed where you have them arranged but with the table view it constructs the table and displays it automatically from the left hand side of the form.

Sorry but am I missing the obvious ?

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [October 25, 2009, 3:59am UTC](https://forum.servoy.com/t/table-view-form-left-justified/11322/4 "2009-10-25T03:59:16Z")

</div>

Hi,

No you have no control over where you put the fields other than the order. The Table view handles everthing for you.  
If you want more control I suggest you use a listview.

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [October 27, 2009, 12:32am UTC](https://forum.servoy.com/t/table-view-form-left-justified/11322/5 "2009-10-27T00:32:38Z")

</div>

If you really need this you could use a main form in record view a place a small tabpanel containing your table view form in the middle, it looks like an overkill to me but you should get the desired result, or sort of.

---

<div class="post-metadata">

**Author:** ![Veges](https://avatars.discourse-cdn.com/v4/letter/v/b77776/32.png) [@Veges](https://forum.servoy.com/u/Veges)\
**Post date:** [October 27, 2009, 12:38am UTC](https://forum.servoy.com/t/table-view-form-left-justified/11322/6 "2009-10-27T00:38:52Z")

</div>

Cheers
