Skip to content

Suppress more members for blazor. - #17961

Draft
MayaKirova wants to merge 2 commits into
masterfrom
mkirova/adjust-blazor-api-3
Draft

MayaKirova wants to merge 2 commits into
masterfrom
mkirova/adjust-blazor-api-3

Conversation

@MayaKirova

Copy link
Copy Markdown
Contributor

A new batch of changes - draft because there might be more.

  • Suppress cellID, readonly, title and visibleColumnIndex - Only the internal IgxGridCellComponent defines cellID, readonly, title and visibleColumnIndex, for template host bindings. The public IgxGridCell facade, which every event, template context and grid method returns except contextMenu, has none of them. In Blazor they always come through as defaults (null, false or 0). Each one has an equivalent: id, column.visibleIndex and !editable, and title is only the tooltip text. Hence suppressing.

Only the internal IgxGridCellComponent defines cellID, readonly, title
and visibleColumnIndex, for template host bindings. The public IgxGridCell
facade, which every event, template context and grid method returns
except contextMenu, has none of them. In Blazor they always come through
as defaults (null, false or 0). Each one has an equivalent: id,
column.visibleIndex and !editable, and title is only the tooltip text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- IGridRowEventArgs.event: blazorCSSuppress. The DOM event can't be
  serialized; IGridCellEventArgs.event is already suppressed.
- IColumnVisibilityChangedEventArgs.column: any -> ColumnType. It is
  always the emitting column.
- Toolbar closing: emit ToggleViewCancelableEventArgs. It re-emits the
  toggle's cancelable closing args, and the toggle honors args.cancel,
  so cancel was already supported but not typed.
- rootRecords: blazorCSSuppress, like processedRootRecords. It is a
  field the pipes fill in, not an input.
- IColumnState.width: any -> optional string. The state saves the
  column's string width, or undefined when the user didn't set one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant