How to get listgrid data from beanshell (when i have 2 listgrid in form)?

Confluence User - 02 Nov, 2017

We have 2 listgrid and i need to store by beanshell but i can't get data from 2 listgrid togeter in form. Please help.

remark i see the find(return to FormRow) i think this function maybe support my problems. but i don't have example to use.

forms;datalists

3


03 Nov, 2017
confluenceUser
confluenceUser

Hi, your question isn't very clear. Perhaps you could share more details and your relevant beanshell code to describe your issue.

03 Nov, 2017
confluenceUser
confluenceUser

Hi Anders.

This is easy example : We have 1 listgrid(Product) and 1 textfield(Category) and i need to store data via beanshell. So every record in listgrid must have data from textfield in data of table together.

like this - Category textfield have value= 'samsung'

in listgrid have data below

1,'Galaxy S8'

2,'Galaxy J7 2017'

When i store i must have data in mysql table below

'samsung',1,'Galaxy S8'

'samsung',2,'Galaxy J7 2017'

How can i do?

Thank you.

04 Nov, 2017
confluenceUser
confluenceUser

Hi

Do download, try out and examine/learn from, the grid properties of 4 types of form grids in the free Tutorial Grid App in Joget Marketplace.

The Joget Marketplace has many free apps and tutorials for Joget Workflow Enterprise you can download and learn how it works.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print