# Possible to create an iOSCustomTableCell with a dynamic height?

**URL:** <https://forum.xojo.com/t/possible-to-create-an-ioscustomtablecell-with-a-dynamic-height/39348>\
**Category:** iOS\
**Created:** [August 21, 2017, 9:54pm UTC](https://forum.xojo.com/t/possible-to-create-an-ioscustomtablecell-with-a-dynamic-height/39348 "2017-08-21T21:54:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ulrich\_Bogun](https://forum.xojo.com/user_avatar/forum.xojo.com/ulrich_bogun/32/1864_2.png) [@Ulrich\_Bogun](https://forum.xojo.com/u/Ulrich_Bogun)\
**Post date:** [August 21, 2017, 9:54pm UTC](https://forum.xojo.com/t/possible-to-create-an-ioscustomtablecell-with-a-dynamic-height/39348/1 "2017-08-21T21:54:57Z")

</div>

Before I start experimenting while maybe someone has an answer already:  
Is there any way to create an IOSCustomTableCell from a dataSource that can grow in height according to its (text) content?

A CustomTableCell inherits from ContainerControl that has a fixed (read-only) width and height. While constraints can be added, the LR says they connect to the content of the cell. Or could I set the height of a textfield manually and have constraints change the height of the TableCell?

---

<div class="post-metadata">

**Author:** ![Jason\_Tait](https://forum.xojo.com/user_avatar/forum.xojo.com/jason_tait/32/5896_2.png) [@Jason\_Tait](https://forum.xojo.com/u/Jason_Tait)\
**Post date:** [August 21, 2017, 10:26pm UTC](https://forum.xojo.com/t/possible-to-create-an-ioscustomtablecell-with-a-dynamic-height/39348/2 "2017-08-21T22:26:29Z")

</div>

I don’t think it’s possible but it would be good if it were. I’ve got lots of conditional custom cells … if isIpad() then …

---

<div class="post-metadata">

**Author:** ![Jeremie\_L](https://forum.xojo.com/user_avatar/forum.xojo.com/jeremie_l/32/150_2.png) [@Jeremie\_L](https://forum.xojo.com/u/Jeremie_L)\
**Post date:** [August 22, 2017, 9:50pm UTC](https://forum.xojo.com/t/possible-to-create-an-ioscustomtablecell-with-a-dynamic-height/39348/3 "2017-08-22T21:50:29Z")

</div>

I think @Antonio Rinaldi has a solution for this.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 6:53pm UTC](https://forum.xojo.com/t/possible-to-create-an-ioscustomtablecell-with-a-dynamic-height/39348/4 "2020-10-29T18:53:51Z")

</div>


