DrillThrough in EJ 1 ASP.NET Core PivotClient
The drill-through retrieves raw items that are used to create a specified cell. To enable drill-through support, set [
enable-drill-through] property to true. Raw items are obtained through the [
drill-through] event, using which you can bind them to an external widget for a precise view.
The drill-through is supported in the pivot grid only when you configure and enable the drill-through action at the cube.
When any value cell is clicked, the Drill Through Information dialog will open. It consists of a grid with the data associated with the measure values of the clicked value cell. In this example, the measure behind the respective cell is “Sales Amount” and the values of the dimensions associated with this measure are displayed in the grid.
When the Hierarchy Selector displayed below the grid is clicked, the Hierarchy Selector dialog will open. It consists of dimensions associated with the measure of a clicked value cell. In this example, the measure behind the respective cell is “Sales Amount” and the dimensions associated with this measure are alone displayed in the dialog.
Drag and drop the respective hierarchies and click OK. The drill-through MDX query will be framed and executed internally and provides back raw items through the “drill-through” event. In this example, the obtained raw items are bound to the ejGrid widget. Refer to the following code sample and screenshot: