Child pages
  • Foundset property type

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
bordertrue
Column
width15%

Let's say you had in your viewPort (before the incomming changes got applied to it):

No Format
row1
row2
row3
row4
row5
Column
width55%

Then you got these "updates" from the listener:

Code Block
languagejs
changesupdates: [
  // "newRow1" inserted
  { type: foundsetTypeConstants.ROWS_INSERTED,
    start: 2, end: 2, removedFromVPEnd: 1 },

  // update row to "newRow2" contents
  { type: foundsetTypeConstants.ROWS_CHANGED,
    start: 4, end: 4 }
]
Column
width15%

that means that the viewport has changed like this after the first update got applied:

No Format
row1
row2
newRow1
row3
row4
Column
width15%

and like this after the second update got applied:

No Format
row1
row2
newRow1
row3
newRow2

...