# Expand Multiple Rows for Table Layout

**URL:** <https://forums.pega.com/t/expand-multiple-rows-for-table-layout/8787>\
**Category:** User Experience\
**Tags:** insurance, team-lead, 8-4-6, user-experience, pega-platform, data-model, data-integration, system-architect\
**Created:** [December 31, 2024, 6:56am UTC](https://forums.pega.com/t/expand-multiple-rows-for-table-layout/8787 "2024-12-31T06:56:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HariKumarMP](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@HariKumarMP](https://forums.pega.com/u/HariKumarMP)\
**Post date:** [December 31, 2024, 6:56am UTC](https://forums.pega.com/t/expand-multiple-rows-for-table-layout/8787/1 "2024-12-31T06:56:29Z")

</div>

- Create a Table layout in a Section
- Source for Table is a Page List property
  - The PageList class is of Work- class

- The “Enable displaying details on multiple rows” checkbox is enabled
- However, it does not allow to expand multiple rows on UI - user needs to collapse a row to expand another row.

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/22508_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [December 31, 2024, 6:16pm UTC](https://forums.pega.com/t/expand-multiple-rows-for-table-layout/8787/2 "2024-12-31T18:16:11Z")

</div>

@HariKumarMP

We have recently implemented it in 8.8.5, and it works fine as expected. We’re able to expand multiple rows.

Thanks,

 ![expand3.png](https://pega1.discourse-cdn.com/pega/original/2X/7/7bb77b0918f63bc2c3aac41c9ba6788761f22cff.png)

---

<div class="post-metadata">

**Author:** ![Sairohith](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/sairohith/32/22323_2.png) [@Sairohith](https://forums.pega.com/u/Sairohith)\
**Post date:** [January 1, 2025, 3:39am UTC](https://forums.pega.com/t/expand-multiple-rows-for-table-layout/8787/3 "2025-01-01T03:39:27Z")

</div>

@HariKumarMP To allow multiple rows to expand in a table layout in Pega, ensure the “Enable displaying details on multiple rows” checkbox is selected in the Table settings. If it still doesn’t work, you can add an action to the “Row Click” event to refresh the section, ensuring expanded rows don’t collapse others. Alternatively, use a custom script in the Harness to override Pega’s default behavior and allow multiple-row expansion. For example, JavaScript can toggle the expansion for clicked rows without affecting others. Updating the Pega version can also help, as newer versions may fix such issues. If none of these work, consider building a custom repeating layout to mimic the table with full control over row behavior. Please let me know if you have any questions. thanks

---

<div class="post-metadata">

**Author:** ![HariKumarMP](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@HariKumarMP](https://forums.pega.com/u/HariKumarMP)\
**Post date:** [January 8, 2025, 2:08pm UTC](https://forums.pega.com/t/expand-multiple-rows-for-table-layout/8787/4 "2025-01-08T14:08:57Z")

</div>

@Sairohith The “Enable displaying details on multiple rows” checkbox is selected - and works if teh table is made from Data- class but not if table is from Work- class.

---

<div class="post-metadata">

**Author:** ![HariKumarMP](https://avatars.discourse-cdn.com/v4/letter/h/278dde/32.png) [@HariKumarMP](https://forums.pega.com/u/HariKumarMP)\
**Post date:** [January 27, 2025, 2:08pm UTC](https://forums.pega.com/t/expand-multiple-rows-for-table-layout/8787/5 "2025-01-27T14:08:00Z")

</div>

@HariKumarMP  
We have converted the Table to display using a Data- class
