Dropdown in list view

0
hello everyone I want to place a dropdown in the list view (each product name should be displayed by default in each dropdown) and when the product is clicked, the dropdown will activate and allow multiple sizes to be selected. And the sizes must be multi-selected, and there is an input box on the right side of each size row to enter the quantity. Is there any way to implement something this complex?
asked
3 answers
2

Bosung,

I created an example of this.

First, here is the domain model I created:

image.png

Note that the association in the blue box is Many to Many and the association in the red box is One to Many.

 

Next, I created this page:

image.png

The Products and Sizes tab were created so I could enter data for those entities.  They both have editable Datagrid controls

 

The Rows tab has a list view that looks like this:

image.png

 

The New Row button points to a nanoflow that creates a new ListViewRow object.

 

The Product column is a Combobox configured like this:

image.png

 

The Size field is a Combo Box configured like this:

image.png

This combo box has conditional editability.  The condition is:

image.png

(I switched to light mode so the expression would be easier to read).

 

When running the app, here is how it works:  https://www.youtube.com/watch?v=sZwlVx-JTVI

 

Hope that helps,

Mike

answered
1

Hi Bosung,

it is possible to have input fields in a listview. You just have to make sure that in the General tab of the listview the "Editable" value is set to Yes. After that you can place any input field in there. Whether it be a dropdown, the combo box or a normal field. 

 

If you get stuck with something specific, please feel free to share some details.

answered
1

Hi Bosung,

 

For multiselection instead of dropdown try use Combo Box or Input Reference Set Selector

 

Hope it helps!

Thanks & Regards,

Manikandan K

answered