Sub view Dept is analysed but in the grid Class code data is appearing

Sub view Dept is analysed but in the grid Class code data is appearing

If you have selected the sub class then the product data gets appeared on the grid. It works according to the drill down functionality.