Hi everyone,
I'm trying to create a custom table in OutSystems that allows rows to expand and collapse, similar to the example shown in the image below. I want users to be able to click on specific rows to expand them and reveal additional information, and then collapse them when they click again.
Features I’d like to implement:
Image examp:
Questions:
Hello,
Please check following posts which may help you implementing this table:
https://www.outsystems.com/forums/discussion/80599/outsystems-data-grid-how-to-extend-data-grid-to-expand-collapse-row-to-show-det/
https://www.outsystems.com/forums/discussion/89186/outsystems-data-grid-web-where-is-extend-datagrid-to-expand-collapse-row-detai/
Hi Nguyen Duc Binh
There are no built-in components that fully support your use case; however, this functionality can be easily achieved using a List widget and a few Web Blocks. Please find the attached OML file, which demonstrates the approach. Note that you will need to update the CSS and other styling to achieve your desired look and feel, as this OML is meant to demonstrate the basic functionality. Additionally, please note that column alignment adjustments will be needed.
Hi Nguyen,
You can also try the component Expandable Table Row:https://www.outsystems.com/forge/component-overview/10423/expandable-table-row-o11
Cheers,
Rúben
Hi @Nguyen Duc Binh,
TreeGrid can be achieved by using built-in DataGrid component of Outsystems. But it's not officially supported by Outsystems.
Since DataGrid is based on Wijimo Grid which supports built-in tree structure, we can use Javascript to activate the tree. The keyword is childItemsPath, you can search in this forum with that keyword.
I have done recently project with tree based on DataGrid needed from client.
Kiet Phan
Hello, is there an oml file for reference? I have also encountered the same problem
Give a second, I'm looking for it.
OK,thank you
here you are
Data should be added like below:
Ok, thank you very much. I'll try