How to fill advanced grid using javascript

Confluence User - 25 Jun, 2020
forms;javascript;json

4


26 Jun, 2020
confluenceUser
confluenceUser

Can you clarify on what is your use case? It should be filled in by the end user?

Found this - How do I pre-populate a form grid from an external datasource?

29 Jun, 2020
confluenceUser
confluenceUser

The bean shell loader loads every time the form is loaded.
In my case:

'Int' field is editable by user and the other fields are filled with the bean shell.
In the next activity the data entered by user will be empty since the form will be loaded from the bean shell again


29 Jun, 2020
confluenceUser
confluenceUser

For subsequent edit, you should not use this same form anymore.

Create a new form by cloning this form, remove the bean shell load binder.

Use the new form for edit.

30 Jun, 2020
confluenceUser
confluenceUser

We can add records to grid form by
$(grid2).enterpriseformgrid("addRow", {result: json });
but I am using advanced grid form 
Is there any way to add a record to the advanced grid form using javascript?


RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print