Skip to content

Update cell editing topic with v19 info for react#1501

Merged
dkamburov merged 3 commits into
vnextfrom
mdragnev/update-cell-editing-topic
Jun 10, 2025
Merged

Update cell editing topic with v19 info for react#1501
dkamburov merged 3 commits into
vnextfrom
mdragnev/update-cell-editing-topic

Conversation

@mddragnev
Copy link
Copy Markdown
Member

No description provided.

@MayaKirova MayaKirova self-requested a review June 9, 2025 11:28
@MayaKirova MayaKirova added the status: in-test 💥 The PR is in test label Jun 9, 2025
```typescript
function keydownHandler(event) {
const key = event.keyCode;
function keydownHandler(args: IgrGridKeydownEventArgs) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think this should be the grid's keydown event, since it is fired only if the key combination is supported in the grid (an existing key combination for edit, navigation etc.) . Hence it would not fire for number keys or alphabet keys.

This probably needs to be the generic keydown event and the snippets and text around the sample should be updated accordingly.

@mddragnev mddragnev requested a review from MayaKirova June 10, 2025 08:33
selected={e.dataContext.cell.value == i[field]}
selected={e.cell.value == i[field]}
value={i[field]}
key={key + "_" + index}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can omit the key, since it's no longer necessary.

<!-- ComponentStart: HierarchicalGrid -->
```tsx
public handleCellEdit(sender: IgrHierarchicalGrid, event: IgrGridEditEventArgs): void {
public handleCellEdit(event: IgrGridEditEventArgs): void {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The sample and snippet for the hierarchical grid don't seem to match since they show different data.

@mddragnev mddragnev requested a review from MayaKirova June 10, 2025 12:16
@MayaKirova MayaKirova added status: verified ✅ The PR is tested and ready for a merge and removed status: in-test 💥 The PR is in test labels Jun 10, 2025
@dkamburov dkamburov merged commit d50a878 into vnext Jun 10, 2025
11 checks passed
@dkamburov dkamburov deleted the mdragnev/update-cell-editing-topic branch June 10, 2025 13:15
@randriova randriova added the status: localized indicates that localization is complete label Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: localized indicates that localization is complete status: verified ✅ The PR is tested and ready for a merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants