# TableListBox Tutorial - non-editable fields

**URL:** <https://forum.juce.com/t/tablelistbox-tutorial-non-editable-fields/30702>\
**Category:** Getting Started\
**Created:** [December 5, 2018, 2:07am UTC](https://forum.juce.com/t/tablelistbox-tutorial-non-editable-fields/30702 "2018-12-05T02:07:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![splintersilk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/splintersilk/32/14724_2.png) [@splintersilk](https://forum.juce.com/u/splintersilk)\
**Post date:** [December 5, 2018, 2:07am UTC](https://forum.juce.com/t/tablelistbox-tutorial-non-editable-fields/30702/1 "2018-12-05T02:07:19Z")

</div>

Hey there

Sorry to post such a terribly n00bish question. I’m right at the beginning of my JUCE journey, still going through the tutorials. 16 lessons in I have hit my first wall.  
[https://docs.juce.com/master/tutorial\_table\_list\_box.html](https://docs.juce.com/master/tutorial_table_list_box.html)

From the description and instructions I’m expecting the compiled result to allow text-editing of the table cells. I’ve yet to see this work though.

Has anyone else had this issue? Or am I somehow expecting the wrong thing?

Any thoughts or advice on this would be much appreciated.

Thanks in advance and best wishes,

Jeff  
MacOS/Mojave/JUCE5.41/Xcode10.1

---

<div class="post-metadata">

**Author:** ![matkatmusic](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@matkatmusic](https://forum.juce.com/u/matkatmusic)\
**Post date:** [December 5, 2018, 7:42am UTC](https://forum.juce.com/t/tablelistbox-tutorial-non-editable-fields/30702/2 "2018-12-05T07:42:48Z")

</div>

you probably need to revisit your code for the tutorial section about custom components and setting the label to be editable.

---

<div class="post-metadata">

**Author:** ![splintersilk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/splintersilk/32/14724_2.png) [@splintersilk](https://forum.juce.com/u/splintersilk)\
**Post date:** [December 5, 2018, 1:04pm UTC](https://forum.juce.com/t/tablelistbox-tutorial-non-editable-fields/30702/3 "2018-12-05T13:04:33Z")

</div>

Thanks for the quick reply Matkatmusic.

Hmmm That’s exactly what I would have said. However, I’ve been over it multiple times now and am still getting the same result.

setEditable (false, true, false); line should make a label editable with double click and maintain uncommitted changes on a clickaway. It’s certainly worked that way elsewhere. It’s also already set as that in the tutorial .h file.

Has anyone here compiled this tutorial as downloaded, with no modifications, using Xcode10.1/macOS with JUCE 5.4.1?

Would love to hear if the compiled macOS executable works for you.

Many thanks!

Jeff

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [December 5, 2018, 5:16pm UTC](https://forum.juce.com/t/tablelistbox-tutorial-non-editable-fields/30702/4 "2018-12-05T17:16:53Z")

</div>

In the tutorial code there is this line:

```
table.getHeader().setColumnVisible (8, false);

```

I’m not sure why it’s there, but column 8 is the editable column. If you remove that line then you’ll see it.

I’ll update the tutorial.

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [December 5, 2018, 6:06pm UTC](https://forum.juce.com/t/tablelistbox-tutorial-non-editable-fields/30702/5 "2018-12-05T18:06:48Z")

</div>

OK, I’ve updated things but it’ll take 24 hours or so to refresh on the web.

---

<div class="post-metadata">

**Author:** ![splintersilk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/splintersilk/32/14724_2.png) [@splintersilk](https://forum.juce.com/u/splintersilk)\
**Post date:** [December 5, 2018, 6:18pm UTC](https://forum.juce.com/t/tablelistbox-tutorial-non-editable-fields/30702/6 "2018-12-05T18:18:14Z")

</div>

Hi Tom

Ah, I glanced at the line but should have commented it out as a test. Thanks very much for looking at this so quickly. The support is much appreciated, as are these superb tutorials!

Btw are you the Tom from here?

 ![XcodeResource](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/0/0569e54ae8937dd010c944738d303d271b68dde5.jpeg)

All the best,

Jeff

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [December 5, 2018, 6:40pm UTC](https://forum.juce.com/t/tablelistbox-tutorial-non-editable-fields/30702/7 "2018-12-05T18:40:37Z")

</div>

Yep, unfortunately that’s me. I’ll get that removed too!

---

<div class="post-metadata">

**Author:** ![splintersilk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/splintersilk/32/14724_2.png) [@splintersilk](https://forum.juce.com/u/splintersilk)\
**Post date:** [December 5, 2018, 7:11pm UTC](https://forum.juce.com/t/tablelistbox-tutorial-non-editable-fields/30702/8 "2018-12-05T19:11:47Z")

</div>

Heh all good. I didn’t mind that actually. Was oddly comforting to know that I was following in an actual persons footsteps. 🙂
