Hi,
I found this old forum post about how in the forge component OutSystems Data Grid Web Sample, the possibility to expand and collapse grid rows is built.
However, when downloading the forge component, there is no such thing. Probably it was removed.
https://www.outsystems.com/forums/discussion/63886/outsystems-data-grid-web-sample-how-to-extend-datagrid-to-expand-collapse-row/
Do you still have an example of this functionality?
Kind regards,
Marjolein Lemkes
Hi @Marjolein Lemkes
I think there's some misinterpretation of that post.The post is explaining how to achieve the use case but it isn't implemented on the Sample application (otherwise the post wouldn't make much sense since you could simply see the example on the sample that is available on Forge for download).
I attached a quick sample following what's in the post, hope it helps.
Cheers,GM
Hi, @Marjolein Lemkes!
In the OutSystems Data Grid Web Sample we do not have an example of how to implement the Expand/Collapse Row, but we do have are examples of how to extend the DataGrid to add custom code.
By using these examples in OutSystems Data Grid Web Sample as a starting point, and following the steps mentioned in the post, you should be able to implement it.
Regards,
Giuliana.
Hi Giuliana,
Thank you for your reply!
I tried following the steps in the post, however, it mentiones that it has a webblock called rowDetail block with some overrides that are needed. I think that it could be going wrong here, because I don't know which overrides that are.
Do you have any idea?
Marjolein
Hi Gonçalo,
Wow! Thankyou! This is indeed what I was looking for.
Thanks:)
Glad to know it helps. I took the freedom to add this to the original post as well so that other community members can more easily find it😉
Hi @Gonçalo Martins , thank you so much for the example. Unfortunately because it's only for OutSystems Web, I'm not able to figure out how to adapt it to a Reactive app. Is there any way to provide a similar example for a Reactive app (even if it does not provide actual reactive functionality)? Alternatively, some guidance as to how to adapt the existing Forge component "ExpandableTableRow" for use with OutSystems Data Grid?