This content has been marked as final. Show 5 replies
You can pick up the code of this demo:
Thank you for your reply. I have already seen that code.. But it shows for Drill-event but not on click Event , moreover it is not giving the exact dataMap information. It is just giving following
int edge = event.getEdge();
int layer = event.getLayer();
int slice = event.getSlice();
Where as, I need the actual Hierarchy drill down Data . In my case i need DepartmetnId , managerName....
Can you please give some direction on this issue . I stuck up!!
In Shay's example, you can augment that to get specific item metadata by doing;
m_model.getDataDirector().getDataAccess().getMemberMetadata(edge, layer, slice, MetadataMap.METADATA_VALUE);
This should return the actual ID value of the item drilled at the edge, layer, and slice location.
Some how I am not able to get the Drilldown parent attributes. Let say when I drill down from DepratmentId to managers then to employees, how could i get the DepartmentId , current manager?
If you have some sample code please provide. That would be really helpful