35
Views
4
Comments
Solved
[OutSystems Data Grid] Display inactive values from dropdown
outsystems-data-grid
Reactive icon
Forge asset by OutSystems
Application Type
Reactive


Hi everyone,

Using dropdowns in the datagrid, we only display active values. 


After the Headphones are inactive we only see the Id in the rows.


How can I still show the text for these inactive values but not display in the dropdown?

2023-03-08 10-32-19
Vinod Kumar R
Solution

Hi @Gonçalo Aguiar,

You need to add the Sample_ProductCategory entity as source.

Modify the Binding in GRID Column.


Results



Attaching the modified OML.


Regards,

Vinod

DropdownDatagrid V1.oml
2022-03-29 16-12-55
Gonçalo Aguiar

Thanks @Vinod Kumar R

I understand how the datagrid works now.

I'll use the labels from the joins for each dropdown instead of the Id from the main entity.


Regards,

Gonçalo

UserImage.jpg
Sneha Kumari

Hi @Gonçalo Aguiar , If possible can you please share the OML for this . It will be easy to try if anything works.

2022-03-29 16-12-55
Gonçalo Aguiar

Hi @Sneha Kumari 

I added the OM, hope that helps.

Thanks.

Regards,

Gonçalo

DropdownDatagrid.oml
2023-03-08 10-32-19
Vinod Kumar R
Solution

Hi @Gonçalo Aguiar,

You need to add the Sample_ProductCategory entity as source.

Modify the Binding in GRID Column.


Results



Attaching the modified OML.


Regards,

Vinod

DropdownDatagrid V1.oml
2022-03-29 16-12-55
Gonçalo Aguiar

Thanks @Vinod Kumar R

I understand how the datagrid works now.

I'll use the labels from the joins for each dropdown instead of the Id from the main entity.


Regards,

Gonçalo

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