You need to sign in to do that
Don't have an account?
debra
Show Opportunity products when opportunity is clicked
Trying to create VF Page that will show a list of Opportunities and when user clicks on a row in the list a section below would display the OpportunityLineItems for the selected row in the opportunity list.
Thought was to have a variable in the controller for selected OpportunityID and use this to query the OpportunityLineItem list for the 2nd table however not clear how to set this ID value when user clicks on a row in the opportunity table. Thinking add action on a column in the row onclick{!setOppID} but now sure to how to access the selected rows data - I do have a column that contains the ID value.
Thought was to have a variable in the controller for selected OpportunityID and use this to query the OpportunityLineItem list for the 2nd table however not clear how to set this ID value when user clicks on a row in the opportunity table. Thinking add action on a column in the row onclick{!setOppID} but now sure to how to access the selected rows data - I do have a column that contains the ID value.
debra
Also looked at option to display products inside the opp table in a column but still missing the part where I can connect the opportunity ID so that only products for the specific opportunity are displayed. RIght now both lists are showing all opportunity line items not for a specific Opportunity.