Hi. I’m working on a datatable that needs to drill down from a list of locations, to all of the departments of that chosen location, then all of the employees for that department in that location.
I have the main datatable displaying all of the locations properly and it is able to call a subview of a datatable to show all of the departments. At this point I need this subview to be able to call the subview of the employees, but nothing shows up. As I test I was able to display something in the subrow, but not the subview. I verified that the employee subview does work, but only when called from the main datatable. It doesn’t look like a subview can call a subview. Is there a work around?
The next level of difficulty I have is to pass data to the subviews, so I will know which location and department are selected on each level. I’m using a javascript array for my data within an angular application, so certain things do not work for me, like .addEvent(). I can get the data to display if I hard code the array index, but I need it to be determined dynamically.
Any help with either issue will be greatly appreciated.