# Use "In Row Button" to expand cell in same row

**URL:** <https://connect.superhuman.com/t/use-in-row-button-to-expand-cell-in-same-row/20783>\
**Category:** Ask the Community\
**Created:** [January 16, 2021, 8:25pm UTC](https://connect.superhuman.com/t/use-in-row-button-to-expand-cell-in-same-row/20783 "2021-01-16T20:25:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Hill](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/scott_hill/32/18106_2.png) [@Scott\_Hill](https://connect.superhuman.com/u/Scott_Hill)\
**Post date:** [January 16, 2021, 8:25pm UTC](https://connect.superhuman.com/t/use-in-row-button-to-expand-cell-in-same-row/20783/1 "2021-01-16T20:25:57Z")

</div>

Hi Everyone!

Curious if anyone has created a way to expand a single cell with an “In Row Button”.

Hopefully the gif helps explain what I’m attempting to do!

 ![Expand Cell with Button GIF](https://global.discourse-cdn.com/coda1/original/3X/7/6/76b31e084227a6ce74759289b8f5d18082e1e684.gif)

---

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [January 16, 2021, 11:04pm UTC](https://connect.superhuman.com/t/use-in-row-button-to-expand-cell-in-same-row/20783/2 "2021-01-16T23:04:01Z")

</div>

Hey @Scott_Hill ,

~~See this topic (my original post and the follow-up corrections):~~

> [@Mega trick: Different "Expand row" layouts for the same row](https://connect.superhuman.com/t/mega-trick-different-expand-row-layouts-for-the-same-row/14143):
>
> Most likely you’re familiar with “Expand row” feature that lets you see a popup for a row by clicking here: And perhaps you know the action Activate() to open that popup programmatically with a button, or at least used the “Add new row and open for editing” checkbox. And also you may know that you can configure row details popup layout just like you can edit the layout in Detail view: What you may not know though is that you can configure this popup’s layout indi…

P.S. Apologies, I thought you wanted to show a row popup, not a column popup.

To programmatically open a cell in Big Text editor, do pretty much the same (`OpenWindow()` with a constructed URL), but the URL should have a `columnId` parameter in it, e.g.:

```auto
OpenWindow(Format(
  "#_tuVES/r{1}&columnId=c-PntQl8r7ye&modal=true",
  thisRow.RowId()
))

```

To get column ID, enable Developer Mode in your [account settings](https://coda.io/account) in the bottom under Labs. Then you’ll see an option to copy Column ID in your column context menu:

 ![image](https://global.discourse-cdn.com/coda1/original/3X/f/7/f74d5bb5a174928e5280464b3ee3dcd18e9c1373.png)

Alternatively just open the popup manually and inspect your browser’s URL:

 ![image](https://global.discourse-cdn.com/coda1/original/3X/d/4/d4d664802f5f2b3f91edd26e1aafcccd0c8d5a00.png)

---

<div class="post-metadata">

**Author:** ![galligan](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/galligan/32/17680_2.png) [@galligan](https://connect.superhuman.com/u/galligan)\
**Post date:** [January 20, 2021, 4:48pm UTC](https://connect.superhuman.com/t/use-in-row-button-to-expand-cell-in-same-row/20783/3 "2021-01-20T16:48:12Z")

</div>

Thanks @Paul_Danyliuk ! I didn’t know that this was a thing at all! Trying to implement this right now but keep running into the same issue where it seems like the URL is not constructed properly. Any ideas?

 ![CleanShot 2021-01-20 at 11.46.30@2x](https://global.discourse-cdn.com/coda1/original/3X/f/5/f5a942fc61a6d04497e43fd007f95d2766f26adb.jpeg)

---

<div class="post-metadata">

**Author:** ![Paul\_Danyliuk](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/paul_danyliuk/32/27228_2.png) [@Paul\_Danyliuk](https://connect.superhuman.com/u/Paul_Danyliuk)\
**Post date:** [January 20, 2021, 9:06pm UTC](https://connect.superhuman.com/t/use-in-row-button-to-expand-cell-in-same-row/20783/4 "2021-01-20T21:06:47Z")

</div>

Whoops, a typo there, the URL should start with `#` so that only the “hash” part of the URL is replaced.

Overall the URL anatomy is:

```http
https://coda.io/d/{IRRELEVANT_DOC_NAME}_d{DOC_ID_10_CHARS}
  /{IRRELEVANT_PAGE_NAME}_su{PAGE_ID_3_CHARS}
  #{IRRELEVANT_TABLE_OR_VIEW_NAME}_tu{OBJECT_ID_3_CHARS}
  /r{ROW_ID} --- or --- /rui-{ROW_UID_10_CHARS} (optional)
  &columnId=c-{COL_ID_10_CHARS} (optional)
  &modal=true (optional)

```

— and following relative URL rules you can omit everything before `#`, or if you need to link to a page you can just keep the `/_su{PAGE_ID}`
