UNPKG

@progress/kendo-angular-chart-wizard

Version:

Kendo UI Angular Chart Wizard component

14 lines (13 loc) 765 B
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { getWizardDataFromDataRows } from "../common"; import { getGridSelectedRows } from "./get-grid-selected-rows"; /** * Maps the Grid selectedKeys to data to be displayed in the Chart Wizard. * * Supports both row and cell selection. * @returns collection that can be used as Chart Wizard. */ export const getWizardDataFromGridSelection = (args) => getWizardDataFromDataRows(getGridSelectedRows(args));