Hi All,
I have a gallery called Phases which display values based on the Project name selected and it has a combo box (Combobox6) which filter the respective value based on the Phase displayed in the Phase gallery and a check box.
The items of the Phase gallery is : Distinct(Phasenames,Phase) which loads the Phases for each Project selected.
The check box of the Phase gallery is: Set(contR,0);Set(contR,Sum(CountRows(ComboBox6.SelectedItems),contR)); which counts the number of items in the combo box.
The items property of the Combo box : Filter(Work_ Product_ Master, PhaseNames = Title2.Text).'Work Product/Process' which filter the values based on the Phase displayed is the Phase gallery.
when checkbox is clicked in the first Phase gallery it will add rows in the below gallery collecting the Phase and Work Product from the Phase gallery.
The code on the + icon is: ForAll(Sequence(contR),Collect(colFinalPhase,{ID: Last(colFinalPhase).ID + 1,
'Project Name': prjnames_3.Selected.ProjectName,
Phase: Title2.Text}));
when the + icon is clicked row has to be added in the second gallery which should the display the value of Phase and Work Product by default in the second gallery. Phase is getting displayed in the second gallery when row is getting added. For the Work Product If the Phase is selected as Design which shows 3 items in the combo box those three items should get displayed in the second gallery (in three rows).. Each row one combo box item should be displayed. If the Phase has only one item one row will be displayed.
Any help/suggestion on this would be greatly appreciated.
Thanks in advance.