Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Nested grids having same datasource behaving incorrectly

    Hi,
    I am using below verison
    SmartClient Version: v11.1p_2017-07-09/PowerEdition Deployment (built 2017-07-09)

    I have nested grids pointing to the same datasource.

    ListGrid nestedGrid = new ListGrid();
    final DataSource testDataSource = DataSource.get("test");
    nestedGrid.setDataSource(testDataSource);

    If i expand two nested grids and edit one, a new record is added in the second grid (this should not happen). However when i refresh the page, changes in second grid are not saved.
    I have written custom server side code for fetch, edit and delete based on the id in parent grid.

    The records of nested grid are fetched based on the parent grid record id. The list of records in the nested grids are having distinct primary keys.

    #2
    This exact question was asked and answered by your colleague just days ago.

    Please be very careful not to make this mistake again in the future.

    Comment

    Working...
    X