Repository navigation
docs(skills): correct toolbar, chart tooltip, tabs, paging and event-render guidance - #567
Draft
ivanvpetrov wants to merge 7 commits into
Draft
ivanvpetrov wants to merge 7 commits into
ivanvpetrov wants to merge 7 commits into
Conversation
…render guidance - grids/features.md: custom toolbar content goes directly in IgbGridToolbar (Blazor renders it before the built-in actions even when declared inside IgbGridToolbarActions); add CSS to place it after the actions and to hide the empty custom-content box; note the #497 title workaround - components/charts.md: replace the "tooltips with no configuration" claim with a per-component Tooltips section (ToolTipType rule for TooltipTemplate, <body> placement, styling, callout, doughnut/sparkline/gauge gaps) - components/layout.md: theme- and version-scoped IgbTabs note with the igc-tabs::part(inner) { flex-grow: 1 } workaround (before WC 7.5.0) - components/SKILL.md, client-scripts.md: StateHasChanged() rules for EventCallback, Action<T> and [JSInvokable] handlers - grids/paging-remote.md: add PagingMode="GridPagingMode.Remote", drive loads from PagingDone instead of PageChange, drop redundant StateHasChanged() calls - grids/grid-migration.md: drop redundant StateHasChanged() - grids/editing.md: CellEditDone handler returns void (Action<T>); document RowDeleted args and that the grid has already removed the row from the bound list
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The guidance incorrectly implies automatic rendering for Action handlers, risking stale UI state, and recommends a cleanup selector that can hide valid text-only toolbar content.
2 open issues
What changed in this PR
Updates the public Blazor skills to address #501, correcting component guidance and examples used by agents generating applications. This is a documentation-only change.
Changes:
- Clarifies toolbar placement, chart tooltip support and styling, and theme-dependent tabs workarounds.
- Distinguishes automatic event rendering from handlers that require
StateHasChanged(). - Corrects remote paging configuration and editing-handler examples.
| File | Description |
|---|---|
skills/igniteui-blazor-grids/references/paging-remote.md |
Adds remote paging mode, uses PagingDone, and removes redundant renders. |
skills/igniteui-blazor-grids/references/grid-migration.md |
Updates paging-event guidance and removes a redundant render call. |
skills/igniteui-blazor-grids/references/features.md |
Documents toolbar content placement and CSS workarounds. |
skills/igniteui-blazor-grids/references/editing.md |
Corrects editing-handler signatures and explains row-delete behavior. |
skills/igniteui-blazor-components/SKILL.md |
Adds event-type-specific rendering guidance. |
skills/igniteui-blazor-components/references/layout.md |
Documents the tabs sizing workaround and its version scope. |
skills/igniteui-blazor-components/references/client-scripts.md |
Explains rendering after JavaScript-to-.NET callbacks. |
skills/igniteui-blazor-components/references/charts.md |
Details tooltip availability, configuration, placement, and styling limits. |
Review effort: Balanced
- client-scripts.md: automatic re-render applies only to EventCallback<T> events; Action<T> events still need StateHasChanged() - features.md: the empty custom-content rule checks element children only; wrap text-only toolbar content in an element
ivanvpetrov
marked this pull request as ready for review
November 18, 2026 16:11
- paging-remote.md: drop the PaginateAsync / NextPageAsync / PreviousPageAsync snippet (all fail on 26.2, #569); a PageChange to page 0 never reaches the handler and nothing is logged (#171), so PagingDone stays the event to use - editing.md: guard the nullable Column / Field in the CellEditDone snippet - layout.md: tabs note covers 26.2, which takes its tabs (WC 7.4.1) from its IgniteUI.Blazor.Lite dependency
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The guidance must distinguish dispatcher-bound callbacks from timer/background-service notifications, which require InvokeAsync around state updates and rendering to avoid InvalidOperationException on Interactive Server.
1 open issue
Review effort: Balanced
ivanvpetrov
marked this pull request as draft
November 25, 2026 08:36
- Chart events: only the move events (SeriesPointerMove, PlotAreaPointerMove, DataChart SeriesMouseMove / PlotAreaMouse*) are Action<T>; Enter/Leave/Click and the pie Slice* events are EventCallbacks. - StateHasChanged in EventCallbacks: immediate render applies before the first await. - paging-remote: #569 bound Page is unreliable, not first-change-only; stale-result guard in the load method; remote sort via SortingExpressionsChange (full multi-sort) reloading the current page; C# filter events carry no operands, so read the grid's filteringExpressionsTree through JS; the grid still runs its local pass. - charts: guard a null TooltipTemplate context (Default / DataChart series), wrapper styling, which .razor.css selectors match, JS templates via series.tooltipTemplate, pie Position/SliceEnter, tooltip layers need the interactivity module. - features: #497 trigger is title content wider than the title area; toolbar exporter examples drop PDF explicitly (also grid-migration). - editing: inject Logger/EmployeeService, null-safe Column in CellEdit, RowData/RowKey and UI update after the save.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Closes #501
Description
Corrects the
igniteui-blazor-gridsandigniteui-blazor-componentsskills for the four topics in #501. It also fixes skill snippets that turned out to be broken while those topics were being tested. The guidance targets IgniteUI.Blazor 26.2.x, the version onmaster.grids/references/features.mdIgbGridToolbar. Blazor renders any non-built-in child ofIgbGridToolbarActionsintodiv.igx-grid-toolbar__custom-content, before the built-in actions, whatever the declaration order. The section now has CSS that shows custom content after the actions (order: 1; flex-grow: 0—orderalone moves the actions next to the title). It also has CSS that hides the "empty" custom-content box, because leftoverigc-portal-*elements stop:emptyfrom matching; text-only content must be wrapped in an element for that rule. Includes the #497 title workaround.components/references/charts.mdTooltipTemplatereplaces them)". A new section covers:TooltipTemplateis used only withToolTipTypeItem,CategoryorDefault, and is ignored with the defaultData;<body>,AttachTooltipToRoot);IgbDataCharttooltip-layer parameters;components/references/layout.mdinnerpart does not grow in the Material, Fluent and Indigo themes, soCenter,EndandJustifylook likeStart. IgniteUI.Blazor 26.2.x takes its tabs from its IgniteUI.Blazor.Lite 1.0.x dependency (web components 7.4.1), so it is affected. The note gives the workaroundigc-tabs::part(inner) { flex-grow: 1; }and warns againstwidth: 100%, which pushes the panel out of view once the headers overflow. It also saysigc-tab { width: 100% }has no effect.components/SKILL.md,components/references/client-scripts.mdEventCallback<T>handlers re-render on their own, so they should not callStateHasChanged(): inside them each call renders immediately and adds a render.[JSInvokable]methods and the full product'sAction<T>events (CellEditDone,RowAdded,RowDeleted, chart and gauge events) need exactly one call.grids/references/paging-remote.mdPagingMode="GridPagingMode.Remote". Without it the snippets never paged: the pager showed "1 of 1".PagingDoneinstead ofPageChange. APageChangeto page 0 never reaches the handler, and nothing is logged (Grid Paging throws error when navigating to start page #171).StateHasChanged()calls and rewrites the rule about them.PaginateAsync/NextPageAsync/PreviousPageAsyncexample. All three fail, and a boundPageapplies only once (IgbPaginator: the page can't be set from code — PaginateAsync/NextPageAsync fail and a bound Page is applied only once #569).grids/references/grid-migration.mdStateHasChanged().grids/references/editing.mdOnCellEditDonereturnsvoid, becauseCellEditDoneis anAction<T>(anasync Taskhandler fails with CS0407). It also guards the nullableColumn/Field.RowDeletedarguments, and that the grid has already removed the row from the bound list when the event fires.Motivation / Context
Each claim in #501 was checked at runtime and against the docs and sources. Three of the four needed corrections:
Toolbar: confirmed. The cause is in the Blazor wrapper:
IgbGridToolbarActionshasSupportsVisualChildren = false. With plain web components, the same content stays inside the actions.Chart tooltips: confirmed, and broader than reported. The default
Datatooltip and theCategorytooltip also render in<body>. A plain selector in the page's.razor.cssdoes style a RazorTooltipTemplate.Tabs: the bug depends on the theme, not the package. It reproduces on IgniteUI.Blazor 26.2.16-beta.0 (tabs from IgniteUI.Blazor.Lite 1.0.1, web components 7.4.1), and igniteui-webcomponents 7.5.0 fixes it (fix(tabs): alignment, scrolling into view, scroll buttons and the header background igniteui-webcomponents#2431). The workaround proposed in the issue is harmful.
Event callbacks: the observation is correct, but the recommendation ("one
StateHasChanged()at the end") adds a render to everyEventCallbackhandler. Measured renders for 0 / 1 / 2 manual calls in a synchronous handler:EventCallback@onclickAction<T>or[JSInvokable]Related: #171, #491, #493, #497, #500, #569.
Type of Change (check all that apply):
Component(s) / Area(s) Affected:
Agent skills (
skills/igniteui-blazor-grids,skills/igniteui-blazor-components). The guidance covers Grid (toolbar, paginator, editing), Charts, Gauges, Tabs and event handling.How Has This Been Tested?
Every finding re-verified on 26.2.16-beta.0, side by side with 26.1.98. Real Blazor apps driven in headless Chrome over CDP, with all console output captured, covering:
Page;CellEditDone/RowDeletedtypes and the delete behaviour;The behaviour is identical in both versions, except that 26.2 no longer logs the failed
PageChangeconversion.Sources checked: the xplat-docs and infragistics.com Blazor docs, the Microsoft Learn rendering and event-handling articles, dotnet/aspnetcore (release/8.0–10.0), igniteui-angular, igniteui-webcomponents, and reflection over the shipped DLLs.
Snippets: every new or changed snippet was compiled and run, the
editing.mdhandler against 26.2.16-beta.0 with nullable enabled.Generation check: fresh agents with only the updated skills built a grid app (toolbar, remote paging, editing), a chart dashboard, a tabs page and a task board. All of them work.
Test Configuration:
Screenshots / Recordings
Before/after, captured on IgniteUI.Blazor.Trial 26.2.16-beta.0 (headless Chrome).
Grid toolbar: custom content placement (

features.md)Tabs alignment and width, Material theme (

layout.md)Remote paging snippet (

paging-remote.md)Category chart

TooltipTemplateandToolTipType(charts.md)Checklist:
README.MDCHANGELOG.MDupdates for newly added functionalityFollow-ups, not in this PR:
Other repos:
IsDefaultTooltipEnabledandIsTooltipVisible.Justifydescription and the CSS-parts table are wrong, and the sparkline page lists tooltips that don't work.toolbar-sample-4in igniteui-blazor-examples has the same toolbar pattern.Lite and 26.2: move IgniteUI.Blazor.Lite to igniteui-webcomponents
~7.5.0. It fixes the tabs bug for Lite, and through it for 26.2.Paginator: it keeps its page after a remote sort, and its navigation methods fail (IgbPaginator: the page can't be set from code — PaginateAsync/NextPageAsync fail and a bound Page is applied only once #569).
26.2 setup guidance:
app.bundle.jsis no longer required.api.js/registerScriptworks for full-product templates, andigRegisterScriptis deprecated.These need their own update to
AGENTS.md,SKILL.md,setup.mdandclient-scripts.md.