Skip to content

Update sorting topic for React 19 #1524

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 1 commit into
base: vnext
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions doc/en/components/grids/_shared/sorting.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This is done via the `Sortable` input. With the `{ComponentName}` sorting, you c
```

```tsx
<IgrColumn field="ProductName" header="Product Name" dataType="string" sortable="true"></IgrColumn>
<IgrColumn field="ProductName" header="Product Name" dataType="string" sortable={true}></IgrColumn>
```

## Sorting Indicators
Expand Down Expand Up @@ -571,7 +571,7 @@ public sortHeaderIconTemplate = (ctx: IgcGridHeaderTemplateContext) => {
<!-- React -->
<!-- ComponentStart: Grid, TreeGrid, HierarchicalGrid -->
```tsx
function sortHeaderIconTemplate(ctx: IgrGridHeaderTemplateContext) {
const sortHeaderIconTemplate = (ctx: IgrGridHeaderTemplateContext) => {
return (
<>
<IgrIcon name='unfold_more'></IgrIcon>
Expand Down Expand Up @@ -630,7 +630,7 @@ public sortAscendingHeaderIconTemplate = (ctx: IgcGridHeaderTemplateContext) =>
<!-- React -->
<!-- ComponentStart: Grid, TreeGrid, HierarchicalGrid -->
```tsx
function sortAscendingHeaderIconTemplate(ctx: IgrGridHeaderTemplateContext) {
const sortAscendingHeaderIconTemplate = (ctx: IgrGridHeaderTemplateContext) => {
return (
<>
<IgrIcon name='expand_less'></IgrIcon>
Expand Down Expand Up @@ -689,7 +689,7 @@ public sortDescendingHeaderIconTemplate = (ctx: IgcGridHeaderTemplateContext) =>
<!-- React -->
<!-- ComponentStart: Grid, TreeGrid, HierarchicalGrid -->
```tsx
function sortDescendingHeaderIconTemplate(ctx: IgrGridHeaderTemplateContext) {
const sortDescendingHeaderIconTemplate = (ctx: IgrGridHeaderTemplateContext) => {
return (
<>
<IgrIcon name='expand_more'></IgrIcon>
Expand Down