Hello: When you build a gridLayout using applyComponents, and then de

Hello:

When you build a gridLayout using applyComponents, and then delete a row, say the third row of 4 rows, the gridRowLayout containing the third row is re-used in memory for the fourth row.

For example:

GridLayout
Has
Data Row 1 – GridRowLayout 1
Data Row 2 – GridRowLayout 2
Data Row 3 – GridRowLayout 3
Data Row 4 – GridRowLayout 4

Then delete data row 3:

Data Row 1 – GridRowLayout 1
Data Row 2 – GridRowLayout 2
Data Row 4 – GridRowLayout 3

This means that any local variables set in GridRowLayout 3 that was applying to row 3 of the data will now apply to Row 4 of the data incorrectly.

OriginalPostID-144484

OriginalPostID-144484

  Discussion posts and replies are publicly visible

Parents
  • The problem also happens with my update grid component.
    I have a grid with an update link that calls an interface rule with a CDT array indexed by that row in the grid.
    When I click update with one row, then click update in a different row, the local variables are not being refreshed.
    Since I need to save into the local variables, I cannot use with variables.
    Please help:

    Data Row 1 - Interface Rule A - Local Variables 1

    [ Now call expression rule A with Data Row 2 ]

    Data Row 2 - Interface Rule A - Local Variables 1
    ( Local variables are not refreshed )

    Even though the expression rule is being triggered with a different input, the local variables remain.

    I need the local variables to be refreshed.
Reply
  • The problem also happens with my update grid component.
    I have a grid with an update link that calls an interface rule with a CDT array indexed by that row in the grid.
    When I click update with one row, then click update in a different row, the local variables are not being refreshed.
    Since I need to save into the local variables, I cannot use with variables.
    Please help:

    Data Row 1 - Interface Rule A - Local Variables 1

    [ Now call expression rule A with Data Row 2 ]

    Data Row 2 - Interface Rule A - Local Variables 1
    ( Local variables are not refreshed )

    Even though the expression rule is being triggered with a different input, the local variables remain.

    I need the local variables to be refreshed.
Children
No Data