Hi Folks
I am using TWA in which Data grid web is used.
Requirement is: To check the length of one field and compare with another corresponding field value.
Example: I am having two fields in a grid i.e
Column 1 Column 2
Column 1 value should always be greater than Column 2.
If I am entering "ABCD" in Column 1 then in column 2 I will not be able to enter more than 3 alphabets.
I hope the requirement is clear.
Thanks in advance
Hi @Sourav Sandhu
Just write down the Javascript. Example: TempColumn1 and TempColumn2 is there and need to compare the length,
then TempColumn1.length>TempColumn2.length && TempColumn1.length="" && TempColumn2=""&& TempColumn1=null && TempColumn2=null.
Apply these Conditions and let me know whether it will work for you or not.
Thanks,
Thanks for the answer. It works.
Hi Sourav,
Are you using TWA only for educational purpose or looking to solve any business app?
Usually with new projects, it is recommended to use Reactive Web for better utilisation of current technology, ease of use, optimized and efficient code.
You may find a workaround with this problem that you posted, but if it's a new project, I recommend not using Traditional Web at all. I see from your profile you've joined just a couple of weeks ago. Don't get me wrong if you're a seasonal user, or trying to fix any issue in an existing business app.
The problem you posted can be easily achieved on Reactive Web version of same forge component.
Hi Ravi,
The app is already existing. Do you have a workaround/solution about the same as it will be helpful for me.
Thanks
I think all you can do at this stage is to tag the correct forge component in your forums post. This will notify the team developing that forge component. So kindly edit and add the forge component on your forum post.
I believe @Gonçalo Martins would be the best person to help you on this issue. Hope you get this sorted soon, and have a clear pathway on migrating your apps on Reactive Web.
What is the component for the above post?
https://www.outsystems.com/forge/component-overview/5554/outsystems-data-grid-web
I am asking for the problem statement component. As you have mentioned in RWA the component is there so which component is this ?
Here's that one
https://www.outsystems.com/forge/component-overview/9764/outsystems-data-grid
and its sample app covering many examples
https://www.outsystems.com/forge/component-overview/9765/outsystems-data-grid-sample