Gird calculation based on SelectBox.

Confluence User - 09 Oct, 2017

Hi friends,

I am new to joget and i am facing an issue and require your help.

I have a select box[Drop Down] and a Grid.

Calculation of Calculation result column of this grid is based on Select Box.

I have attached the preview page screenshot below.

Anybody please help.

gird;calculation;based;on;selectbox

1


10 Oct, 2017
confluenceUser
confluenceUser

Hi, I do not think that you can use calculation field for this as it does not support dynamic operator for formula. But, you can use javascript to get the operator and calculate the result yourself using javascript.

for example, if your grid is form grid element, you can use the following script in your inner form to get the operator from parent form.

$("[name$='operator']",parent.document).val()

Best regards.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print