31
Views
6
Comments
Solved
[OutSystems Data Grid Web] Invalid column in outsystems data grid web
outsystems-data-grid-web
Web icon
Forge asset by OutSystems
Application Type
Traditional Web
Platform Version
11.32.0 (Build 44177)

I upgraded outsystems data grid web forge component from v 2.17.0 to 2.18.1. I am having issues in my data grid traditional application after upgrade
Please see the below images regarding a column whose value was valid before the upgrade but is not being treated as invalid

Before upgrade:

After Upgrade:

The structure that is being used to create the data for data grid has this column marked as non-mandatory

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

Hello @Arsalan farooqui 

You can add to your column's AdvancedFormat input the value "isRequired: false" and you'll be able to overcome that behavior and control it as you wish.
Hope it helps!

Cheers,
GM

UserImage.jpg
Arsalan farooqui

Thanks @Gonçalo Martins , this solution is working! Do you have any idea why it started behaving like this after upgrade?

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

Hello @Arsalan farooqui,

To make this more efficient and collaborative for the community please share a sample OML where that issue can be reproduced. That way someone from the community can take a look without investing more time in implementing the use case.

Cheers,
GM



UserImage.jpg
Arsalan farooqui

Hi @Gonçalo Martins , It is a production application and I am unable to create the same scenario in a dummy OML. Please refer the below text

ℹ Information

  • This upgrade introduces some behavior changes that may affect existing functionality: 
    • Mandatory Fields: Columns marked as mandatory will now display empty cells with a red border and an error message saying, "Please fill out this field." 
      This change was introduced by the provider. 

This was mentioned in the release notes of latest version of Outsystems data grid web forge component. I believe this is what is causing the issue. The thing is, I am unable to find how to mark the fields non-mandatory. Please help me with this.

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

Hi @Arsalan farooqui, 

Without access to an oml replicating your use case, I won't be able to help.

Cheers,
GM

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

Hello @Arsalan farooqui 

You can add to your column's AdvancedFormat input the value "isRequired: false" and you'll be able to overcome that behavior and control it as you wish.
Hope it helps!

Cheers,
GM

UserImage.jpg
Arsalan farooqui

Thanks @Gonçalo Martins , this solution is working! Do you have any idea why it started behaving like this after upgrade?

2022-12-30 07-28-09
Navneet Garg

Can you please share oml? so I can check at my end. It is very hard to find the issue with such a small information. after upgrading there are lots of possibilities so its hard to pinpoint the issue.

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