Hi,
I want to create a table to find/display/edit the content of a SharePoint List. The table consists of 2 nested Gallery, parent Gallery is the header and the child Gallery displays the data of the table.
I have Issues selecting a column in the SharePoint List (depending on the value of the parentGallery(header) Label) and feeding it in the Items of childGallery, childComboBox and parentComBox.
-The parent Gallery is composed of a ComboBox and a Button(consider it's a Label) displaying the column name.
DataSource for the parent Gallery is a Collection created OnStart of the App. It maps the column of the SharePoint List that I want to display and contains other info for formatting the columns, control behaviour, etc. The Items for the ComboBox come from the SharePoint List corresponding column.
-The child Gallery is composed of ComboBox in view mode. DataSource of the child Gallery is the SharePoint List filtered with the selection of the ComboBox in the parent Gallery.
What I have tried to filter the Items in childGallery, childComboBox and parentComBox:
- parent Gallery: ComboBox.Items issues
- parentGallery.Items = headerCollection [OK]
- parentComboBox.Items = ShowColums(SP_List, ThisItem.HeaderLabel) [ERROR]
- parentComboBox.Items = childGallery.AllItems [ERROR]
- parentGallery.Items = headerCollection [OK]
- child Gallery: childGallery.Items & ComboBox.Items issues
- childGallery.Items = SP_List [OK, but it's going no were]
- childComboBox.Items =ShowColums(ThisItems, Text(parentLabel.ThisItem.Text)) [ERROR]
- childGallery.Items = ShowColums(SP_List, ThisItem.HeaderLabel) [ERROR]
- childComboBox.Items = ShowColums(SP_List, ThisItem.HeaderLabel) [ERROR]
- childGallery.Items = SP_List [OK, but it's going no were]
How can I select a column in a Collection(ThisItem, galleryControl.AllItems) and/or SharePoint List from galleryControl.ThisItem."txt value" and feed it in the Items for a Gallery and ComboBox?
Or is there another way to achieve the behaviour I'm looking for?
Thanks,