Question

How to create a calcualted column on a Editable Grid

Hi,



I'm trying to create a calculated column called Doors on an editable grid. Doors amount is calculated based on two columns. Entries and Floors. All columns are int. So Doors = Entries * Floors. How can I calculate Floors automatically and without using a business process on an Editable Grid. We achieved Editable grid using https://community.bpmonline.com/articles/editable-grid-section

 

Like 0

Like

1 comments

Hello Yosue,



It is difficult to implement it in a way that you described. The most easy way to achieve it is to create additional column and update it`s value each time entries or floors value changes. Such realization will allow you to work with "doors" value from any part of the system as you usually do.

Idea is to add column, and calculate each time object is saved using entity event layer : https://academy.bpmonline.com/documents/technic-sdk/7-13/entity-event-layer



Best regards,

Alex

Show all comments