# Add a PopupMenu to a column in a weblistbox

**URL:** <https://forum.xojo.com/t/add-a-popupmenu-to-a-column-in-a-weblistbox/88945>\
**Category:** Web\
**Created:** [September 30, 2026, 8:33am UTC](https://forum.xojo.com/t/add-a-popupmenu-to-a-column-in-a-weblistbox/88945 "2026-09-30T08:33:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keith\_Keller](https://forum.xojo.com/letter_avatar_proxy/v4/letter/k/b9bd4f/32.png) [@Keith\_Keller](https://forum.xojo.com/u/Keith_Keller)\
**Post date:** [September 30, 2026, 8:33am UTC](https://forum.xojo.com/t/add-a-popupmenu-to-a-column-in-a-weblistbox/88945/1 "2026-09-30T08:33:36Z")

</div>

Greetings All.

How might I add a popupMenu that will appear on each row within a WebListBox in a particular column?

When the user clicks any of the popupMenus, it will display a list of values and when the user selects one of those value, I want to be able to capture that value.

---

<div class="post-metadata">

**Author:** ![Ricardo\_Cruz](https://forum.xojo.com/user_avatar/forum.xojo.com/ricardo_cruz/32/7852_2.png) [@Ricardo\_Cruz](https://forum.xojo.com/u/Ricardo_Cruz)\
**Post date:** [September 30, 2026, 10:01am UTC](https://forum.xojo.com/t/add-a-popupmenu-to-a-column-in-a-weblistbox/88945/2 "2026-09-30T10:01:38Z")

</div>

Hi @Keith_Keller,

While we’d like to support embedding a WebContainer, using a [cell renderer](https://documentation.xojo.com/api/web/weblistboxcellrenderer.html#weblistboxcellrenderer) is the only option at the moment. There are

Since I’m testing the upcoming 2026r3’s Agentic Mode, I’ve asked Claude to prepare a cell renderer for you:

[PopupMenuCellRenderer.xojo\_binary\_project.zip](https://forum.xojo.com/uploads/short-url/r3Z2PDBGYJk7pAOVAS61bi5KoG1.zip) (10.5 KB)

You can find more information about the Web SDK and some Cell Renderer examples inside the Extras folder:

 ![Extras](https://forum.xojo.com/uploads/default/original/3X/4/8/48aacbb446658b944961bc36246e800dcd7c63b8.png)

---

<div class="post-metadata">

**Author:** ![Keith\_Keller](https://forum.xojo.com/letter_avatar_proxy/v4/letter/k/b9bd4f/32.png) [@Keith\_Keller](https://forum.xojo.com/u/Keith_Keller)\
**Post date:** [September 30, 2026, 4:26pm UTC](https://forum.xojo.com/t/add-a-popupmenu-to-a-column-in-a-weblistbox/88945/3 "2026-09-30T16:26:38Z")

</div>

Thanks @Ricardo_Cruz

I have a quick follow-up to this. I would also like to right-align text in one of the columns of the weblistbox (not the header).

Thoughts?

---

<div class="post-metadata">

**Author:** ![Ricardo\_Cruz](https://forum.xojo.com/user_avatar/forum.xojo.com/ricardo_cruz/32/7852_2.png) [@Ricardo\_Cruz](https://forum.xojo.com/u/Ricardo_Cruz)\
**Post date:** [September 30, 2026, 5:11pm UTC](https://forum.xojo.com/t/add-a-popupmenu-to-a-column-in-a-weblistbox/88945/4 "2026-09-30T17:11:31Z")

</div>

That one is easier!

[ColumnAlignmentAt](https://documentation.xojo.com/api/user_interface/web/weblistbox.html#weblistbox-columnalignmentat)

Try with this:

```auto
ListBox1.ColumnAlignmentAt(1) = WebListBox.Alignments.Right

```

---

<div class="post-metadata">

**Author:** ![Ricardo\_Cruz](https://forum.xojo.com/user_avatar/forum.xojo.com/ricardo_cruz/32/7852_2.png) [@Ricardo\_Cruz](https://forum.xojo.com/u/Ricardo_Cruz)\
**Post date:** [September 30, 2026, 5:17pm UTC](https://forum.xojo.com/t/add-a-popupmenu-to-a-column-in-a-weblistbox/88945/5 "2026-09-30T17:17:49Z")

</div>

For additional styling, then the [WebListBoxStyleRenderer](https://documentation.xojo.com/api/web/weblistboxstylerenderer.html) can help. For example, changing the background color, font color, …
