Skip to Content
0

Navigation/Routing via VizFrame - Binding Context Path Retrieval

Apr 06, 2017 at 10:07 AM

134

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srikanth KV Apr 06, 2017 at 06:09 PM
0

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
Share
10 |10000 characters needed characters left characters exceeded