Skip to content

Update grid overview topic to v19 #1563

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 2 commits into
base: vnext
Choose a base branch
from

Conversation

skrustev
Copy link
Member

No description provided.

```

> **Note**:
>Whenever a header template is used along with grouping/moving functionality the column header area becomes draggable and you cannot access the custom elements part of the header template until you mark them as not draggable. Example below.
Copy link
Member Author

Choose a reason for hiding this comment

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

Has been fixed and no longer required.

@mddragnev mddragnev self-requested a review May 29, 2025 13:25
@@ -788,7 +719,7 @@ public smallViewTemplate = (ctx: IgcCellTemplateContext) => {
```

```tsx
<IgrGrid>
<IgrGrid ref={grid}>
Copy link
Member

Choose a reason for hiding this comment

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

The normalViewTemplate and smallViewTemplate snippets have class instead of className set. Also, they are using ctx.dataContext.cell.value which is no longer the case and should be ctx.cell.value

@@ -1043,7 +976,7 @@ function fetchData(url: string): void {
.then(data => onDataLoaded(data));
}
function onDataLoaded(jsonData: any[]) {
gridRef.current.data = jsonData;
grid.current.data = jsonData;
Copy link
Member

Choose a reason for hiding this comment

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

Should we show this with state instead of using the ref. Probably, the better react-ish way

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.

2 participants