Skip to Content
avatar image
Former Member

Navigation/Routing via VizFrame - Binding Context Path Retrieval

Hello,

I'm having trouble retrieving the Binding Context Path of data selected in a VizFrame. There's a method for List Items, but I just can't figure out how to get the same information from a VizFrame.

I need it in order to pass the data to the next detail view via the router.

Does anyone have an idea?

Thanks,

Kevin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 06, 2017 at 06:09 PM

    try the event 'selectData', from the event read the parameter of selected context row '_context_row_number'.

    Retrieve binding of the chart(assuming chart is oChart)

    var aContexts[] = oChart.getDataset().getBinding("data").getContexts();
    var sSelectedBindnigCtxPath = aContexts[]//selected binding context
    
    Add comment
    10|10000 characters needed characters exceeded