Skip to content

fix(react): update sorting snippets to 19 #1520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: vnext
Choose a base branch
from

Conversation

tishko0
Copy link
Contributor

@tishko0 tishko0 commented May 8, 2025

No description provided.

@mddragnev mddragnev self-requested a review May 8, 2025 12:54
@@ -159,11 +159,12 @@ igRegisterScript("SortingHandler", SortingHandler, false);

<!-- React -->
```tsx
function onSorting(grid: {ComponentName}, event: IgrSortingEventArgs) {
function onSorting(args: IgrSortingEventArgs) {
const grid = args.target as IgrGrid;
Copy link
Member

Choose a reason for hiding this comment

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

Casting here as IgrGrid breaks the generation of the snippet for Hgrid and Treegrid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants