Skip to content

[IgbHierarchicalGrid/ IgbRowIsland] Editing a cell in hierarchical grid row island does not update the underlying datasource #178

@TomoyaWashio

Description

@TomoyaWashio

Description

After editing a cell inside a Row Island (child grid), the underlying datasource shown by the “Show data” button is not updated. In contrast, edits made in the root (parent) grid are correctly reflected in the datasource.
A possible cause is that the custom edit event handlers configured on the grid (e.g., CellEditDoneInternal = OnCellEditDoneInternal;) are applied only to the root grid. Since the Row Island likely does not go through the same initialization path (e.g., it does not inherit from IgbGridBaseDirective / does not execute OnCreatedIgbGridBaseDirective()), the datasource update logic is not executed for child-grid edits.
ref:https://infragistics.visualstudio.com/NetAdvantage/_workitems/edit/38559

Steps to reproduce

  1. Open the attached sample
  2. Edit the first cell with id 1
  3. Edit the first cell of the first row island with id 11 to something else
  4. Click show data button

Result

The datasource reflects the edit made in the root grid, but it does not reflect the edits made in the Row Island (child grid); the displayed child-related data remains outdated.

Expected result

Edits made in the Row Island (child grid) should also be committed to the underlying datasource, so the datasource shown via “Show data” is fully up to date.

Attachments

C_00243378_BlazorServerApp1.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions