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 Reply Children
No Data