161
Views
6
Comments
Solved
[OutSystems Data Grid Web] Where is: Extend DataGrid to Expand/Collapse Row Details in OS Data Grid Web Sample
outsystems-data-grid-web
Web icon
Forge asset by OutSystems

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

2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

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

DataGrid_RowDetails_Sample.oml
2022-07-19 16-56-14
Giuliana Silva
Staff

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.



UserImage.jpg
Marjolein Lemkes

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?

Kind regards,

Marjolein

2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

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

DataGrid_RowDetails_Sample.oml
UserImage.jpg
Marjolein Lemkes

Hi Gonçalo,

Wow! Thankyou! This is indeed what I was looking for.

Thanks:)

Marjolein

2022-11-12 11-28-30
Gonçalo Martins
Staff

Hi @Marjolein Lemkes 

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😉

Cheers,
GM

UserImage.jpg
Olga Smolyar

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?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.