Skip to content

GridCore - Fix eslint and add types to leaf helpers (m_aggregate_calculator, m_utils, m_accessibility, m_export) - #35463

Draft
Tucchhaa wants to merge 4 commits into
DevExpress:mainfrom
Tucchhaa:fix_eslint_n_types_26_1
Draft

Tucchhaa wants to merge 4 commits into
DevExpress:mainfrom
Tucchhaa:fix_eslint_n_types_26_1

Conversation

@Tucchhaa

@Tucchhaa Tucchhaa commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@Tucchhaa Tucchhaa self-assigned this Oct 4, 2026
@Tucchhaa Tucchhaa added the 26_2 label Oct 4, 2026
@Tucchhaa
Tucchhaa requested a balanced review from Copilot October 4, 2026 14:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Several new type contracts reject supported scalar rows or valid filter/export calls.

Review effort: Balanced
Findings: 4 Medium severity

Open (4)
What changed in this PR

Adds TypeScript types and ESLint-compliant constructs to GridCore helper modules while preserving aggregation, accessibility, filtering, and export behavior.

Changes:

  • Types aggregation inputs, helpers, and summary integration.
  • Types group filtering and keyboard accessibility helpers.
  • Refactors export preparation with generic item types.
File Description
grid_core/​m_export.ts Adds generic export-item types and lint fixes.
grid_core/​m_accessibility.ts Types keyboard action registration.
data_grid/​summary/​types.ts Allows optional aggregation group indexes.
data_grid/​summary/​m_summary.ts Types aggregate calculation data.
data_grid/​m_utils.ts Types group-filter construction.
data_grid/​m_aggregate_calculator.ts Types and modernizes aggregation helpers.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


constructor(options: {
data: any;
data: RawItemData[] | GroupData<RawItemData>[];
export function createGroupFilter(
path: unknown[],
storeLoadOptions: Pick<StoreLoadOptions, 'group' | 'filter'>,
): DataFilter {

private calculateTotalAggregates(
data,
data: RawItemData[] | GroupData<RawItemData>[],

function prepareItems<T extends ExportItem>(
items: T[][],
emptyCell: Partial<T>,

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants