How to display multiple rows of data in the spreadsheet of an ajax sub-form?

Confluence User - 14 May, 2022

How can I display multiple rows of data in the spreadsheet of an ajax sub-form which is linked to the multi-select box?

eg. when I select 2 different order numbers from the multi-select drop-down box, the details of both should be displayed in the spreadsheet in separate rows.

spreadsheet;forms

3


14 May, 2022
confluenceUser
confluenceUser

When you use a multiselect box it stores semi colon separated (;) value. E.g Value1;Value2;Value3
If you Ajax is working on multiselect box and you are getting ids of the rows that you want to display in the spreadsheet then:
You need to user jdbc binder, write an sql query that can display the records of semi colon separated ids into separate rows  

14 May, 2022
confluenceUser
confluenceUser

Thank you Anas Misbah Shami for your reply.


I have written an SQL query that fetches the data from the table view. But the spreadsheet displays the details of only one of the order numbers selected from the multi-select drop-down.

14 May, 2022
confluenceUser
confluenceUser

There must be wrong something with the query. Have you tried running the query in heidisql?

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print