ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

Consulting: how to create an Expandable Row using ui5-table?

Open Psidium opened this issue 7 years ago • 6 comments

This is what I was trying to achieve when I faced #454.

I'd like to create an Expandable Row, like this:

How can I create this using ui5-table? (I don't even know if sap.m.Table supports this)

I tried adding a new row that I would show or hide based on some rules, but I cannot create components that fill the whole row of the table.

Psidium avatar May 28 '19 19:05 Psidium

I am not really sure if this can be achieved with the current API :/

I will give a try for it. Looks like a feature request for merging cells of a row.

MapTo0 avatar May 28 '19 20:05 MapTo0

Do you think we could tackle this now that we have a pre-release version of UI5 web components?

Psidium avatar Jul 16 '19 19:07 Psidium

We plan to invest time for improvements of the table component, but I am not completely sure that this feature will be in the roadmap as it is not really a feature of the existing components from OpenUI5.

Anyway, I have it on my mind and we will try to make it feasible to implement with some minor effort in the application.

MapTo0 avatar Jul 23 '19 07:07 MapTo0

Hello,

After consulting the experts, we have determined that the kind of behavior you're trying to achieve is not according to the UX guidelines of the Table. Additional information, according to the latest UX trends, should be shown either in a popup, or by navigating to another page. Therefore at this point we do not plan to implement expandable rows.

Regards, Vladislav

vladitasev avatar Oct 14 '19 10:10 vladitasev

Hi @Psidium ,

Here I have created a working example of how you can create expandable rows by yourself: https://codesandbox.io/s/ui5-webcomponents-0881d

Hope it helps you!

Best Regards, Filip

fifoosid avatar Dec 04 '19 11:12 fifoosid

Did anyone find any solution on how it can be achieved using sap.m or sap.ui table ? I see there is a blog which explains how it can be displayed under each row . https://blogs.sap.com/2019/04/02/sap-ui5-table-row-shift-expand/ But it is not working as expected for ui table or if i try to do any sort of table related tweaks. Any suggestions on how the child table can be added as a custom control when an expand button is clicked ?

Thanks, Abhinay

Abhi0806 avatar Oct 27 '23 06:10 Abhi0806