Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Chris_
334
Views
7
Comments
how to populate combobox items inside table records
Question
eI have a combobox, Its values are from entity
The combo box is placed in the Table record.
how can I populate the combox items based on the referenceid of the current row?
Pedro Coelho
Hi,
You can create an action that returns a list with the input parameter based on the referenceid of the current row.
Then call the action in Source Record List in combobox.
Pedro Coelho
Jimmy Vankerkhove
Champion
Pedro,
would this solution also work for an editable table ?
Imagine an editable table with in one column an attribute presented in a combo.
The combobox in each row should have different content.
But according to our info it's impossible to achieve this in an editable table.
Jimmy
Carlos Henriques
Hi Jimmy,
I'm not sure of what you are trying to do, but like Pedro said with a function you can have a combo with different options for each row. See this example:
https://carloshenriques.outsystemscloud.com/TestZone/
Jimmy Vankerkhove
Champion
Hi Carlos,
what I'm trying to do is the following ...
Editable table with a column containing a combo box showing articles (titles). The combo should show all the articles not yet ??added in the table + the one of the current row itself of course.
David Blezard
Jimmy, are you trying to do something like this?
Luis Camarena
David, Nice work. That table layout helped me with a similar problem we were having.
David Blezard
Good to hear. The combo box is bound to the column in the underlying record that is being updated. The source of the combo box in my case is simply an entity. Your example stated the values needed to be ones not selected. I would suggest creating an action that queries data to determine the "not selected" answer set that executes On Change or any change to refresh the list. This may get tricky with it executing very frequently and trigger from several events.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...