How to copy grid1 value into grid 2

Confluence User - 30 Nov, 2017

Dear Expert,

 

I have two grids which are grid1 and grid2.

Grid 1 is for user to input data and grid 2 is to display grid 1 data by doing some calculation.

I noticed there is a post similar to this question : How to do an auto calculation of grid 2 based on values from grid 1 ?

 

However, my user prefers form grid compared to advanced grid.

May I know where can I find the source code / guidance for form grid as I noticed the sample given in previous question is using pq_grid. I assume it is for advanced grid.

formgrid

1


04 Dec, 2017
confluenceUser
confluenceUser

Hi, I do not have the exact code, but you should be able to use custom JavaScript to do it. For example you could listen to a change in one of the values using jquery onchange https://api.jquery.com/change/, then do the calculation and set the other value accordingly. 

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print