UNPKG

devexpress-reporting

Version:

DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.

25 lines (24 loc) 902 B
/** * DevExpress HTML/JS Reporting (chart\components\axis\_axis.js) * Version: 24.2.7 * Build date: Apr 29, 2025 * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import { getLocalization } from '@devexpress/analytics-core/analytics-utils'; import * as ko from 'knockout'; export function initCollectionItem(item, parent) { return () => { item.parent = parent; item.innerActions = [ { text: getLocalization('Remove', 'ReportStringId.UD_Capt_SpacingRemove'), imageClassName: 'dxrd-image-recycle-bin', imageTemplateName: 'dxrd-svg-operations-recycle_bin', disabled: ko.observable(false), visible: true, clickAction: () => { parent.remove(item); }, } ]; }; }